// 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"
// 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(),