// headers
// ----------------------------------------------------------------------------
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma implementation "radioboxbase.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
return item;
}
+#if WXWIN_COMPATIBILITY_2_4
+
// these functions are deprecated and don't do anything
int wxRadioBoxBase::GetNumberOfRowsOrCols() const
{
{
}
-#endif // wxUSE_RADIOBOX
+#endif // WXWIN_COMPATIBILITY_2_4
+
+#if WXWIN_COMPATIBILITY_2_2
+
+int wxRadioBoxBase::Number() const
+{
+ return GetCount();
+}
+wxString wxRadioBoxBase::GetLabel(int n) const
+{
+ return GetString(n);
+}
+
+void wxRadioBoxBase::SetLabel(int n, const wxString& label)
+{
+ SetString(n, label);
+}
+
+#endif // WXWIN_COMPATIBILITY_2_2
+
+#endif // wxUSE_RADIOBOX