From 05dff6b0756ec639d4d05ed88ef47e57a8dbbae8 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Fri, 30 Nov 2007 18:06:10 +0000 Subject: [PATCH] wxOverlay compile fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/private/overlay.h | 7 +------ src/common/overlaycmn.cpp | 2 -- 2 files changed, 1 insertion(+), 8 deletions(-) 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 ; } -- 2.47.2