]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/brush.cpp
submenu preparation in two methods encapsulated
[wxWidgets.git] / src / os2 / brush.cpp
index e45a28f3b131888f7626941f14b4afb96344931b..fb9a09ae3158eb05b22c09241cc1998d9f057a06 100644 (file)
@@ -19,6 +19,7 @@
 #include "wx/utils.h"
 #include "wx/app.h"
 #include "wx/brush.h"
+#include "wx/log.h"
 #endif
 
 #include "wx/os2/private.h"
@@ -204,7 +205,7 @@ bool wxBrush::RealizeResource()
         if (M_BRUSHDATA->m_hBrush==NULL) wxError("Cannot create brush","Internal error") ;
 #endif
         M_BRUSHDATA->m_vBundle.lColor        = vPmColour;
-        M_BRUSHDATA->m_vBundle.lBackColor    = CLR_DEFAULT;
+        M_BRUSHDATA->m_vBundle.lBackColor    = RGB_WHITE;
         M_BRUSHDATA->m_vBundle.usMixMode     = FM_OVERPAINT;
         M_BRUSHDATA->m_vBundle.usBackMixMode = BM_OVERPAINT;