X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aa61d3525370a9b9fa8c797d9b7f89d96994db5f..cb3db09022512bcbb6c6c41dd6859ab9245186a1:/include/wx/mac/classic/radiobox.h diff --git a/include/wx/mac/classic/radiobox.h b/include/wx/mac/classic/radiobox.h index fc40c6aa5c..11fdf686ad 100644 --- a/include/wx/mac/classic/radiobox.h +++ b/include/wx/mac/classic/radiobox.h @@ -54,6 +54,24 @@ public: const wxValidator& val = wxDefaultValidator, const wxString& name = wxRadioBoxNameStr); + // Enabling + virtual bool Enable(bool enable = true); + virtual bool Enable(unsigned int item, bool enable = true); + virtual bool IsItemEnabled(unsigned int WXUNUSED(n)) const + { + /* TODO */ + return true; + } + + // Showing + virtual bool Show(bool show = true); + virtual bool Show(unsigned int item, bool show = true); + virtual bool IsItemShown(unsigned int WXUNUSED(n)) const + { + /* TODO */ + return true; + } + // Specific functions (in wxWidgets2 reference) virtual void SetSelection(int item); virtual int GetSelection() const; @@ -63,13 +81,9 @@ public: virtual wxString GetString(unsigned int item) const; virtual void SetString(unsigned int item, const wxString& label); - virtual bool Enable(unsigned int item, bool enable = true); - virtual bool Show(unsigned int item, bool show = true); - virtual bool Enable(bool enable = true); virtual wxString GetLabel() const; virtual void SetLabel(const wxString& label) ; - virtual bool Show(bool show = true); // Other external functions void Command(wxCommandEvent& event);