From 71ac8ec3c81d3fbe2e959d6bf576212c4b26ea8b Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Sun, 12 Mar 2006 15:25:58 +0000 Subject: [PATCH] IsValid() is now in base class. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/gtk/radiobox.h | 5 ----- include/wx/gtk1/radiobox.h | 5 ----- 2 files changed, 10 deletions(-) diff --git a/include/wx/gtk/radiobox.h b/include/wx/gtk/radiobox.h index 244dbab904..08dc999f55 100644 --- a/include/wx/gtk/radiobox.h +++ b/include/wx/gtk/radiobox.h @@ -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_ - diff --git a/include/wx/gtk1/radiobox.h b/include/wx/gtk1/radiobox.h index 4e45065d22..3327b78cdb 100644 --- a/include/wx/gtk1/radiobox.h +++ b/include/wx/gtk1/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_ - -- 2.50.0