From: Robert Roebling Date: Fri, 30 Nov 2007 18:06:10 +0000 (+0000) Subject: wxOverlay compile fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/05dff6b0756ec639d4d05ed88ef47e57a8dbbae8?hp=03580f20a8cabb87762bba2abb7ecdf010acb054 wxOverlay compile fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/private/overlay.h b/include/wx/private/overlay.h index 06c5c641bc..2ffebd3796 100644 --- a/include/wx/private/overlay.h +++ b/include/wx/private/overlay.h @@ -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 diff --git a/src/common/overlaycmn.cpp b/src/common/overlaycmn.cpp index bda66e1161..35b222e49d 100644 --- a/src/common/overlaycmn.cpp +++ b/src/common/overlaycmn.cpp @@ -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 ; }