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:
@@ -133,13 +133,8 @@ protected:
|
|||||||
// common part of all ctors
|
// common part of all ctors
|
||||||
void Init();
|
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:
|
private:
|
||||||
DECLARE_DYNAMIC_CLASS(wxRadioBox)
|
DECLARE_DYNAMIC_CLASS(wxRadioBox)
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // _WX_GTK_RADIOBOX_H_
|
#endif // _WX_GTK_RADIOBOX_H_
|
||||||
|
|
||||||
|
@@ -129,13 +129,8 @@ protected:
|
|||||||
// common part of all ctors
|
// common part of all ctors
|
||||||
void Init();
|
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:
|
private:
|
||||||
DECLARE_DYNAMIC_CLASS(wxRadioBox)
|
DECLARE_DYNAMIC_CLASS(wxRadioBox)
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // _WX_GTK_RADIOBOX_H_
|
#endif // _WX_GTK_RADIOBOX_H_
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user