]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/rgncmn.cpp
deprecate wxDC::SetClippingRegion(wxRegion) overload and replace it with SetDeviceCli...
[wxWidgets.git] / src / common / rgncmn.cpp
index a18bb207082b0fedc671ca37353b04ec63daec13..e19bf54505a0141dd1b1c3bbc65b34684e75cf4c 100644 (file)
@@ -65,7 +65,7 @@ wxBitmap wxRegionBase::ConvertToBitmap() const
     dc.SelectObject(bmp);
     dc.SetBackground(*wxBLACK_BRUSH);
     dc.Clear();
-    dc.SetClippingRegion(*wx_static_cast(const wxRegion *, this));
+    dc.SetDeviceClippingRegion(*wx_static_cast(const wxRegion *, this));
     dc.SetBackground(*wxWHITE_BRUSH);
     dc.Clear();
     dc.SelectObject(wxNullBitmap);