git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11169
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
virtual wxString GetStringSelection() const;
virtual bool SetStringSelection(const wxString& s);
- virtual int Number() const { return m_noItems; } ;
+ virtual int GetCount() const { return m_noItems; } ;
void Command(wxCommandEvent& event);
int GetNumberOfRowsOrCols() const { return m_noRowsOrCols; }
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);