X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bfc6fde4b1dd5bfd8ae22839ff9a69cf24eb9120..8366ae934aab9f835747b0c2e456231e8795fe78:/include/wx/motif/radiobox.h diff --git a/include/wx/motif/radiobox.h b/include/wx/motif/radiobox.h index 8ef4be358a..4b4ace5eb0 100644 --- a/include/wx/motif/radiobox.h +++ b/include/wx/motif/radiobox.h @@ -6,7 +6,7 @@ // Created: 17/09/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_RADIOBOX_H_ @@ -56,14 +56,14 @@ public: void SetLabel(int item, const wxString& label) ; wxString GetLabel(int item) const; wxString GetLabel() const { return wxControl::GetLabel(); }; - void Enable(bool enable); + bool Enable(bool enable); void Enable(int item, bool enable); void Show(int item, bool show) ; bool Show(bool show) ; 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; }