]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 1 Feb 2002 20:22:17 +0000 (20:22 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 1 Feb 2002 20:22:17 +0000 (20:22 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/window.cpp
src/gtk1/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 );
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 );