wxOverlay compile fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2007-11-30 18:06:10 +00:00
parent 03580f20a8
commit 05dff6b075
2 changed files with 1 additions and 8 deletions

View File

@@ -59,13 +59,8 @@ private:
int m_y ;
int m_width ;
int m_height ;
// this is to enable wxMOTIF and UNIV to compile....
// currently (10 oct 06) we don't use m_window
// ce - how do we fix this
#if defined(__WXGTK__) || defined(__WXMSW__)
wxWindow* m_window ;
#endif
} ;
};
#endif // wxHAS_NATIVE_OVERLAY/!wxHAS_NATIVE_OVERLAY

View File

@@ -129,9 +129,7 @@ void wxDCOverlay::Clear()
wxOverlayImpl::wxOverlayImpl()
{
#if defined(__WXGTK__) || defined(__WXMSW__)
m_window = NULL ;
#endif
m_x = m_y = m_width = m_height = 0 ;
}