]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/radiobox.h
changed/centralized window creation code to allow wxTLW work in wxUniv
[wxWidgets.git] / include / wx / gtk1 / radiobox.h
index d7805a70ca6c11a4aad7966add962e84c19382e1..16af2a266897c550427181753a5ebfb06461943d 100644 (file)
 #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__