X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..c822ad5a5e30a21ca3340af644bf79804cf7c777:/include/wx/gtk1/radiobox.h diff --git a/include/wx/gtk1/radiobox.h b/include/wx/gtk1/radiobox.h index d7805a70ca..6ecfc59a17 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 ); @@ -117,7 +99,6 @@ public: virtual void DoSetSize( int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO ); virtual void OnInternalIdle(); - bool m_alreadySent; bool m_hasFocus, m_lostFocus; int m_majorDim; @@ -131,6 +112,4 @@ private: DECLARE_DYNAMIC_CLASS(wxRadioBox) }; -#endif - #endif // __GTKRADIOBOXH__