Rewrite the Windows-specific part of WriteDIB() to use more wxWidgets API.
This gets the code closer to working on GNU/Linux, although it still has some windows-specific functions.
Authored by: david_costanzo 2026-04-18
Parent: [r6160]
Child: [r6162]