X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd1eb4e315ca84b5d1b574ab3f6308885ed097c2..ea28b8853b8748ba94b71dd67c9d216db9ef0742:/src/common/rgncmn.cpp 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;