X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/888dde65f43d5f57e8fb2028b27191cca1741403..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/src/gtk/dcclient.cpp?ds=sidebyside diff --git a/src/gtk/dcclient.cpp b/src/gtk/dcclient.cpp index 43ac53209d..c8ee27bd35 100644 --- a/src/gtk/dcclient.cpp +++ b/src/gtk/dcclient.cpp @@ -2457,7 +2457,7 @@ wxClientDCImpl::wxClientDCImpl( wxDC *owner, wxWindow *win ) 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__ }