]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dcbase.cpp
Set default attributes after a SetSelection
[wxWidgets.git] / src / common / dcbase.cpp
index 6d16b4706fca63f188f09e69ec1d3ec5668ef590..aea373f4ca7ac5bc3e5327202a8d7a2bbed755df 100644 (file)
     #include "wx/mac/dcscreen.h"
 #endif
 
+#ifdef __WXPM__
+    #include "wx/os2/dcclient.h"
+    #include "wx/os2/dcmemory.h"
+    #include "wx/os2/dcscreen.h"
+#endif
+
 #ifdef __WXCOCOA__
     #include "wx/cocoa/dcclient.h"
     #include "wx/cocoa/dcmemory.h"
@@ -332,7 +338,7 @@ wxDCImpl::wxDCImpl( wxDC *owner )
         , m_mappingMode(wxMM_TEXT)
         , m_pen()
         , m_brush()
-        , m_backgroundBrush(*wxTRANSPARENT_BRUSH)
+        , m_backgroundBrush()
         , m_textForegroundColour(*wxBLACK)
         , m_textBackgroundColour(*wxWHITE)
         , m_font()