]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dcclient.cpp
use GetText() instead of GetText(wxString&), made some methods inline
[wxWidgets.git] / src / os2 / dcclient.cpp
index 73efcf389a81dd81ba1081de26f2e8af89c5abae..cdb7003da75a3cde04f61870c12edc131945d0fb 100644 (file)
@@ -23,6 +23,7 @@
 #include "wx/string.h"
 #include "wx/log.h"
 #include "wx/window.h"
+#include "wx/app.h"
 
 #include "wx/os2/private.h"
 
@@ -141,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,