X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8ba7c77150d74a5385f2385e5448ca491263179f..4837b89e3b9ddc02a752d9937e3e1d9f92328851:/src/common/radiocmn.cpp diff --git a/src/common/radiocmn.cpp b/src/common/radiocmn.cpp index 47f15e5b2c..9c759147e8 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" @@ -38,18 +34,6 @@ // implementation // ============================================================================ -int wxRadioBoxBase::FindString(const wxString& s) const -{ - int count = GetCount(); - for ( int n = 0; n < count; n++ ) - { - if ( GetString(n) == s ) - return n; - } - - return wxNOT_FOUND; -} - int wxRadioBoxBase::GetNextItem(int item, wxDirection dir, long style) const { int count = GetCount(), @@ -160,24 +144,4 @@ 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 -