X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/888dde65f43d5f57e8fb2028b27191cca1741403..dc0c395d837af5097f3fb52bdc37a1faaa33869b:/src/gtk/dcclient.cpp 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__ }