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:
parent
0360340068
commit
71ac8ec3c8
@ -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_
|
||||
|
||||
|
@ -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_
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user