projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set HTML data even in Unicode mode
[wxWidgets.git]
/
src
/
common
/
radiocmn.cpp
diff --git
a/src/common/radiocmn.cpp
b/src/common/radiocmn.cpp
index 4e4d8cbad1365ec504440d87fce83e93d029d0e8..9c759147e8630d6285adc51a09d393b0ea43ca5c 100644
(file)
--- a/
src/common/radiocmn.cpp
+++ b/
src/common/radiocmn.cpp
@@
-6,7
+6,7
@@
// Created: 03.06.01
// RCS-ID: $Id$
// Copyright: (c) 2001 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
// Created: 03.06.01
// RCS-ID: $Id$
// Copyright: (c) 2001 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
-// License: wxWi
dget
s licence
+// License: wxWi
ndow
s licence
///////////////////////////////////////////////////////////////////////////////
// ============================================================================
///////////////////////////////////////////////////////////////////////////////
// ============================================================================
@@
-17,10
+17,6
@@
// headers
// ----------------------------------------------------------------------------
// 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"
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
@@
-98,7
+94,7
@@
int wxRadioBoxBase::GetNextItem(int item, wxDirection dir, long style) const
default:
wxFAIL_MSG( _T("unexpected wxDirection value") );
default:
wxFAIL_MSG( _T("unexpected wxDirection value") );
- return
-1
;
+ return
wxNOT_FOUND
;
}
// ensure that the item is in range [0..count)
}
// ensure that the item is in range [0..count)
@@
-134,5
+130,18
@@
int wxRadioBoxBase::GetNextItem(int item, wxDirection dir, long style) const
return item;
}
return item;
}
-#endif // wxUSE_RADIOBOX
+#if WXWIN_COMPATIBILITY_2_4
+
+// these functions are deprecated and don't do anything
+int wxRadioBoxBase::GetNumberOfRowsOrCols() const
+{
+ return 1;
+}
+void wxRadioBoxBase::SetNumberOfRowsOrCols(int WXUNUSED(n))
+{
+}
+
+#endif // WXWIN_COMPATIBILITY_2_4
+
+#endif // wxUSE_RADIOBOX