X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3417f6618c41a6b8a7adc29ad5a12ca8c0dad248..4b7b750dd1ffd0d26b78728adb613b282a37c058:/src/os2/dcclient.cpp diff --git a/src/os2/dcclient.cpp b/src/os2/dcclient.cpp index 2ee419bd58..cdb7003da7 100644 --- a/src/os2/dcclient.cpp +++ b/src/os2/dcclient.cpp @@ -142,6 +142,12 @@ wxWindowDC::wxWindowDC( void wxWindowDC::InitDC() { + wxColour vColor; + + vColor.InitFromName("BLACK"); + m_pen.SetColour(vColor); + vColor.Set("WHITE"); + m_brush.SetColour(vColor); // // The background mode is only used for text background and is set in // DrawText() to OPAQUE as required, otherwise always TRANSPARENT,