X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..ff8b6290e9b7d0c604c35ca938d87cbd1fd157ed:/include/wx/gtk/radiobox.h diff --git a/include/wx/gtk/radiobox.h b/include/wx/gtk/radiobox.h index d7805a70ca..16af2a2668 100644 --- a/include/wx/gtk/radiobox.h +++ b/include/wx/gtk/radiobox.h @@ -15,27 +15,8 @@ #pragma interface #endif -#include "wx/defs.h" - -#if wxUSE_RADIOBOX - -#include "wx/object.h" -#include "wx/list.h" -#include "wx/control.h" #include "wx/bitmap.h" -//----------------------------------------------------------------------------- -// classes -//----------------------------------------------------------------------------- - -class wxRadioBox; - -//----------------------------------------------------------------------------- -// global data -//----------------------------------------------------------------------------- - -extern const char *wxRadioBoxNameStr; - //----------------------------------------------------------------------------- // wxRadioBox //----------------------------------------------------------------------------- @@ -97,7 +78,8 @@ public: virtual wxString GetStringSelection() const; virtual bool SetStringSelection( const wxString& s ); - virtual int Number() const; + int Number() const; + int GetCount() const { return Number(); } int GetNumberOfRowsOrCols() const; void SetNumberOfRowsOrCols( int n ); @@ -131,6 +113,4 @@ private: DECLARE_DYNAMIC_CLASS(wxRadioBox) }; -#endif - #endif // __GTKRADIOBOXH__