X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce00f59b5b169752d2f05ce3bb1a88ddc1b38b4c..835165d576b66441987b78519e6ef1fe74ea795a:/include/wx/ribbon/buttonbar.h?ds=sidebyside diff --git a/include/wx/ribbon/buttonbar.h b/include/wx/ribbon/buttonbar.h index 7063326b67..9d7da82f3f 100644 --- a/include/wx/ribbon/buttonbar.h +++ b/include/wx/ribbon/buttonbar.h @@ -67,6 +67,12 @@ public: const wxBitmap& bitmap, const wxString& help_string = wxEmptyString); + virtual wxRibbonButtonBarButtonBase* AddToggleButton( + int button_id, + const wxString& label, + const wxBitmap& bitmap, + const wxString& help_string = wxEmptyString); + virtual wxRibbonButtonBarButtonBase* AddButton( int button_id, const wxString& label, @@ -82,6 +88,7 @@ public: virtual void ClearButtons(); virtual bool DeleteButton(int button_id); virtual void EnableButton(int button_id, bool enable = true); + virtual void ToggleButton(int button_id, bool checked); virtual void SetArtProvider(wxRibbonArtProvider* art); virtual bool IsSizingContinuous() const;