]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dcclient.cpp
check that the version of __sync_sub_and_fetch that returns a value is supported...
[wxWidgets.git] / src / gtk / dcclient.cpp
index 43ac53209d86eb902252725c5b0de8013810da3d..c8ee27bd35469dd87619891a8e732da948ecb254 100644 (file)
@@ -2457,7 +2457,7 @@ wxClientDCImpl::wxClientDCImpl( wxDC *owner, wxWindow *win )
     wxPoint ptOrigin = win->GetClientAreaOrigin();
     SetDeviceOrigin(ptOrigin.x, ptOrigin.y);
     wxSize size = win->GetClientSize();
     wxPoint ptOrigin = win->GetClientAreaOrigin();
     SetDeviceOrigin(ptOrigin.x, ptOrigin.y);
     wxSize size = win->GetClientSize();
-    SetClippingRegion(wxPoint(0, 0), size);
+    DoSetClippingRegion(0, 0, size.x, size.y);
 #endif 
     // __WXUNIVERSAL__
 }
 #endif 
     // __WXUNIVERSAL__
 }