]> git.saurik.com Git - wxWidgets.git/commitdiff
IsValid() is now in base class.
authorWłodzimierz Skiba <abx@abx.art.pl>
Sun, 12 Mar 2006 15:25:58 +0000 (15:25 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Sun, 12 Mar 2006 15:25:58 +0000 (15:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/gtk/radiobox.h
include/wx/gtk1/radiobox.h

index 244dbab904ec9ddb31c83d5d1dcb622fbede30e0..08dc999f551a91b1e381810afff4ab8f86702b07 100644 (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_
-
index 4e45065d229b04a3f8daa9e9c0fa769de06a9622..3327b78cdb46f9b1db59a0f173145f9532a32f7e 100644 (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_
-