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 ; }