#define XtDisplay XTDISPLAY
#endif
+#include "wx/defs.h"
+
#include "wx/radiobox.h"
#include "wx/utils.h"
wxRadioBox *item = (wxRadioBox *) clientData;
int sel = -1;
int i;
- for (i = 0; i < item->Number(); i++)
+ for (i = 0; i < item->GetCount(); i++)
if (item->GetRadioButtons() && ((Widget) (item->GetRadioButtons()[i]) == w))
sel = i;
item->SetSel(sel);