]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/radiocmn.cpp
Warning fix and source cleaning.
[wxWidgets.git] / src / common / radiocmn.cpp
index c936cc3593c14152020e551c337d662ed311e898..bf88463af51503724a1c74a39171515ec8eb4706 100644 (file)
@@ -148,5 +148,24 @@ void wxRadioBoxBase::SetNumberOfRowsOrCols(int WXUNUSED(n))
 
 #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