diff --git a/include/wx/osx/window.h b/include/wx/osx/window.h index d5693becf3..4152f18329 100644 --- a/include/wx/osx/window.h +++ b/include/wx/osx/window.h @@ -198,7 +198,10 @@ public: bool MacIsReallyEnabled() ; bool MacIsReallyHilited() ; +#if WXWIN_COMPATIBILITY_2_8 bool MacIsUserPane() { return m_macIsUserPane; } +#endif + bool MacIsUserPane() const { return m_macIsUserPane; } virtual bool MacSetupCursor( const wxPoint& pt ) ;