add some forward-compatibility functions to allow writing code compiling with both 2.8 and trunk without deprecation warnings (closes #10629)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-03-23 12:35:12 +00:00
parent e7591ca9de
commit 77aa7b0748
4 changed files with 39 additions and 1 deletions

View File

@@ -1442,6 +1442,9 @@ public:
void SetShow(bool show) { m_show = show; }
bool GetShow() const { return m_show; }
#if wxABI_VERSION >= 20811
bool IsShown() const { return GetShow(); }
#endif
virtual wxEvent *Clone() const { return new wxShowEvent(*this); }
@@ -1468,7 +1471,9 @@ public:
// return true if the frame was iconized, false if restored
bool Iconized() const { return m_iconized; }
#if wxABI_VERSION >= 20811
bool IsIconized() const { return Iconized(); }
#endif
virtual wxEvent *Clone() const { return new wxIconizeEvent(*this); }
protected: