X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8cf73271dd6f442a98e86b559d4a55c37e25b99f..2f0e16e186a58e730e38400f5ddd96df62ee19bb:/include/wx/mac/carbon/radiobox.h?ds=inline diff --git a/include/wx/mac/carbon/radiobox.h b/include/wx/mac/carbon/radiobox.h index c9642e2deb..2147e1c931 100644 --- a/include/wx/mac/carbon/radiobox.h +++ b/include/wx/mac/carbon/radiobox.h @@ -58,7 +58,7 @@ public: const wxValidator& val = wxDefaultValidator, const wxString& name = wxRadioBoxNameStr); -// Specific functions (in wxWindows2 reference) +// Specific functions (in wxWidgets2 reference) virtual void SetSelection(int item); virtual int GetSelection() const; @@ -67,19 +67,19 @@ public: virtual wxString GetString(int item) const; virtual void SetString(int item, const wxString& label) ; - virtual void Enable(int item, bool enable); - virtual void Show(int item, bool show) ; + virtual bool Enable(int item, bool enable = true); + virtual bool Show(int item, bool show = true); virtual int GetColumnCount() const ; virtual int GetRowCount() const ; - virtual bool Enable(bool enable = TRUE); + virtual bool Enable(bool enable = true); virtual wxString GetLabel() const; virtual void SetLabel(const wxString& label) ; - virtual bool Show(bool show = TRUE); + virtual bool Show(bool show = true); -// Other external functions +// Other external functions void Command(wxCommandEvent& event); void SetFocus(); @@ -95,7 +95,7 @@ protected: int m_noItems; int m_noRowsOrCols; -// Internal functions +// Internal functions virtual wxSize DoGetBestSize() const ; virtual void DoSetSize(int x, int y, int width, int height,