X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd1eb4e315ca84b5d1b574ab3f6308885ed097c2..70e881039bfeab2f3cdd42ea8093f7313c5623a6:/src/common/rgncmn.cpp?ds=sidebyside diff --git a/src/common/rgncmn.cpp b/src/common/rgncmn.cpp index 0cf6f5ae06..c192366f29 100644 --- a/src/common/rgncmn.cpp +++ b/src/common/rgncmn.cpp @@ -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;