X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/15f03b25a6e735601106b49dbf711cc2ad34a1f1..578dc95029e761a59911b7c1bc09f59384d64ddf:/src/os2/brush.cpp diff --git a/src/os2/brush.cpp b/src/os2/brush.cpp index e45a28f3b1..fb9a09ae31 100644 --- a/src/os2/brush.cpp +++ b/src/os2/brush.cpp @@ -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;