X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/18c509fb88b029169eb1b1b6a2c9ff852b7c7f84..43dc5fb14027416b4e9cefc1ddd48e6c3b1dd690:/src/common/radiocmn.cpp?ds=sidebyside diff --git a/src/common/radiocmn.cpp b/src/common/radiocmn.cpp index c936cc3593..dbaae7076d 100644 --- a/src/common/radiocmn.cpp +++ b/src/common/radiocmn.cpp @@ -17,10 +17,6 @@ // 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" @@ -148,5 +144,23 @@ void wxRadioBoxBase::SetNumberOfRowsOrCols(int WXUNUSED(n)) #endif // WXWIN_COMPATIBILITY_2_4 -#endif // wxUSE_RADIOBOX +#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