fix the wrong #ifdef WXWIN_COMPATIBILITY_2_8 checks, #if should be used (#9644)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-06-26 11:16:40 +00:00
parent f31f319f0a
commit 831b64f32f
5 changed files with 11 additions and 6 deletions

View File

@@ -1370,7 +1370,7 @@ public:
// return true if the window was shown, false if hidden
bool IsShown() const { return m_show; }
#ifdef WXWIN_COMPATIBILITY_2_8
#if WXWIN_COMPATIBILITY_2_8
wxDEPRECATED( bool GetShow() const { return IsShown(); } )
#endif
@@ -1397,7 +1397,7 @@ public:
: wxEvent(event)
{ m_iconized = event.m_iconized; }
#ifdef WXWIN_COMPATIBILITY_2_8
#if WXWIN_COMPATIBILITY_2_8
wxDEPRECATED( bool Iconized() const { return IsIconized(); } )
#endif
// return true if the frame was iconized, false if restored