]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/window.cpp
compilation fix
[wxWidgets.git] / src / gtk / window.cpp
index e4ef75a2921d842bc39228b07ab0eaae8409e907..016b47c69be48934079417f3102d46f13c048542 100644 (file)
@@ -3453,7 +3453,7 @@ void wxWindowGTK::GtkSendPaintEvents()
 {
     m_clipPaintRegion = TRUE;
 
-    wxWindowDC dc( this );
+    wxWindowDC dc( (wxWindow*)this );
     dc.SetClippingRegion( m_updateRegion );
     wxEraseEvent erase_event( GetId(), &dc );
     erase_event.SetEventObject( this );