From ca50a0771a5c1f6a6e83540297e88517b2cd45c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Fri, 1 Feb 2002 20:22:17 +0000 Subject: [PATCH] compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/window.cpp | 2 +- src/gtk1/window.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index e4ef75a292..016b47c69b 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -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 ); diff --git a/src/gtk1/window.cpp b/src/gtk1/window.cpp index e4ef75a292..016b47c69b 100644 --- a/src/gtk1/window.cpp +++ b/src/gtk1/window.cpp @@ -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 );