X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/df707c27b3837ef17a0ede057e900638555525ce..ceef3893cb12d80e679d4b619fb086529a36c2a8:/src/x11/window.cpp diff --git a/src/x11/window.cpp b/src/x11/window.cpp index b437ef79f6..6cae3175d7 100644 --- a/src/x11/window.cpp +++ b/src/x11/window.cpp @@ -1206,7 +1206,7 @@ void wxWindowX11::SendEraseEvents() if (m_clearRegion.IsEmpty()) return; wxClientDC dc( (wxWindow*)this ); - dc.SetClippingRegion( m_clearRegion ); + dc.SetDeviceClippingRegion( m_clearRegion ); wxEraseEvent erase_event( GetId(), &dc ); erase_event.SetEventObject( this );