#include "wx/control.h"
-WXDLLEXPORT_DATA(extern const wxChar*) wxRadioBoxNameStr;
+extern WXDLLEXPORT_DATA(const wxChar*) wxRadioBoxNameStr;
// ----------------------------------------------------------------------------
// wxRadioBoxBase is not a normal base class, but rather a mix-in because the
// real wxRadioBox derives from different classes on different platforms: for
-// example, it is a wxStaticBox in wxUniv but not in wxMSW
+// example, it is a wxStaticBox in wxUniv and wxMSW but not in other ports
// ----------------------------------------------------------------------------
class WXDLLEXPORT wxRadioBoxBase
// return the item above/below/to the left/right of the given one
int GetNextItem(int item, wxDirection dir, long style) const;
+
+ // deprecated functions
+ // --------------------
+
+#if WXWIN_COMPATIBILITY_2_4
+ wxDEPRECATED( int GetNumberOfRowsOrCols() const );
+ wxDEPRECATED( void SetNumberOfRowsOrCols(int n) );
+#endif // WXWIN_COMPATIBILITY_2_4
+
// for compatibility only, don't use these methods in new code!
#if WXWIN_COMPATIBILITY_2_2
- int Number() const { return GetCount(); }
- wxString GetLabel(int n) const { return GetString(n); }
- void SetLabel(int n, const wxString& label) { SetString(n, label); }
+ wxDEPRECATED( int Number() const );
+ wxDEPRECATED( wxString GetLabel(int n) const );
+ wxDEPRECATED( void SetLabel(int n, const wxString& label) );
#endif // WXWIN_COMPATIBILITY_2_2
};