X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..b225f65995e9eccefe9b502568b1b8e40629cd1a:/include/wx/gtk1/radiobox.h?ds=inline diff --git a/include/wx/gtk1/radiobox.h b/include/wx/gtk1/radiobox.h index d7805a70ca..16af2a2668 100644 --- a/include/wx/gtk1/radiobox.h +++ b/include/wx/gtk1/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__