/////////////////////////////////////////////////////////////////////////////
-// Name: radiobox.cpp
+// Name: src/motif/radiobox.cpp
// Purpose: wxRadioBox
// Author: Julian Smart
// Modified by:
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "radiobox.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
}
}
-int wxRadioBox::FindString(const wxString& s) const
-{
- int i;
- for (i = 0; i < m_noItems; i++)
- if (s == m_radioButtonLabels[i])
- return i;
- return wxNOT_FOUND;
-}
-
void wxRadioBox::SetSelection(int n)
{
if (!IsValid(n))
event.SetEventObject(item);
item->ProcessCommand (event);
}
-