default:
wxFAIL_MSG( _T("unexpected wxDirection value") );
- return -1;
+ return wxNOT_FOUND;
}
// ensure that the item is in range [0..count)
return item;
}
+#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