diff --git a/src/common/radiocmn.cpp b/src/common/radiocmn.cpp index 1c95257632..c936cc3593 100644 --- a/src/common/radiocmn.cpp +++ b/src/common/radiocmn.cpp @@ -134,6 +134,8 @@ int wxRadioBoxBase::GetNextItem(int item, wxDirection dir, long style) const return item; } +#if WXWIN_COMPATIBILITY_2_4 + // these functions are deprecated and don't do anything int wxRadioBoxBase::GetNumberOfRowsOrCols() const { @@ -144,5 +146,7 @@ void wxRadioBoxBase::SetNumberOfRowsOrCols(int WXUNUSED(n)) { } +#endif // WXWIN_COMPATIBILITY_2_4 + #endif // wxUSE_RADIOBOX