X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/27c78e4552aaefac9a4db0d4453eff09cdfef2ad..3a4abf80552dce71c27568d849c677671c752043:/include/wx/gtk1/radiobox.h diff --git a/include/wx/gtk1/radiobox.h b/include/wx/gtk1/radiobox.h index f4a0bb123c..a2fc5ece73 100644 --- a/include/wx/gtk1/radiobox.h +++ b/include/wx/gtk1/radiobox.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: wx/gtk/radiobox.h +// Name: wx/gtk1/radiobox.h // Purpose: // Author: Robert Roebling // Id: $Id$ @@ -81,7 +81,7 @@ public: // implement wxItemContainerImmutable methods - virtual int GetCount() const; + virtual size_t GetCount() const; virtual wxString GetString(int n) const; virtual void SetString(int n, const wxString& s); @@ -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_ -