IsValid() is now in base class.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba 2006-03-12 15:25:58 +00:00
parent 0360340068
commit 71ac8ec3c8
2 changed files with 0 additions and 10 deletions

View File

@ -133,13 +133,8 @@ protected:
// common part of all ctors
void Init();
// check that the index is valid
// FIXME: remove once GTK will derive from wxRadioBoxBase
inline bool IsValid(int n) const { return n >= 0 && n < GetCount(); }
private:
DECLARE_DYNAMIC_CLASS(wxRadioBox)
};
#endif // _WX_GTK_RADIOBOX_H_

View File

@ -129,13 +129,8 @@ protected:
// common part of all ctors
void Init();
// check that the index is valid
// FIXME: remove once GTK will derive from wxRadioBoxBase
inline bool IsValid(int n) const { return n >= 0 && n < GetCount(); }
private:
DECLARE_DYNAMIC_CLASS(wxRadioBox)
};
#endif // _WX_GTK_RADIOBOX_H_