X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/18c509fb88b029169eb1b1b6a2c9ff852b7c7f84..52069700e7f9c4cc1fc4379306e9f763c5b83073:/src/common/radiocmn.cpp diff --git a/src/common/radiocmn.cpp b/src/common/radiocmn.cpp index c936cc3593..bf88463af5 100644 --- a/src/common/radiocmn.cpp +++ b/src/common/radiocmn.cpp @@ -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