renamed Number method (should be GetCount)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot 2001-07-23 20:11:12 +00:00
parent cc4a1ce1f5
commit 3c85ada9db
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ public:
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; }

View File

@ -486,7 +486,7 @@ void wxRadioBoxCallback (Widget w, XtPointer clientData,
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);