]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/rgncmn.cpp
quick compilation fix for wxBase
[wxWidgets.git] / src / common / rgncmn.cpp
index 0cf6f5ae06a6c1ff65af474ae060534cdd5292a2..c192366f293ae8afeeb84096da81819d65c42bc0 100644 (file)
@@ -37,10 +37,10 @@ wxBitmap wxRegion::ConvertToBitmap() const
     wxBitmap bmp(box.GetRight(), box.GetBottom());
     wxMemoryDC dc;
     dc.SelectObject(bmp);
-    dc.SetBackground(*wxWHITE_BRUSH);
+    dc.SetBackground(*wxBLACK_BRUSH);
     dc.Clear();
     dc.SetClippingRegion(*this);
-    dc.SetBackground(*wxBLACK_BRUSH);
+    dc.SetBackground(*wxWHITE_BRUSH);
     dc.Clear();
     dc.SelectObject(wxNullBitmap);
     return bmp;