]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for WXWIN_COMPATIBILITY_2_4 == 0
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 14 Dec 2004 12:30:42 +0000 (12:30 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 14 Dec 2004 12:30:42 +0000 (12:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/radiocmn.cpp

index 1c95257632c8c91cf47d15c5d107ef0ece89296a..c936cc3593c14152020e551c337d662ed311e898 100644 (file)
@@ -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