X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/652aa9360f96449b56a572edd2c8dd35770a2a3d..e4097f77c440b1f31a80fe273cc732c14d606096:/interface/wx/ribbon/buttonbar.h diff --git a/interface/wx/ribbon/buttonbar.h b/interface/wx/ribbon/buttonbar.h index 08951900f2..27c396d7ac 100644 --- a/interface/wx/ribbon/buttonbar.h +++ b/interface/wx/ribbon/buttonbar.h @@ -2,7 +2,6 @@ // Name: ribbon/buttonbar.h // Purpose: interface of wxRibbonButtonBar // Author: Peter Cawley -// RCS-ID: $Id$ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -485,6 +484,25 @@ public: */ virtual wxRibbonButtonBarButtonBase *GetHoveredItem() const; + /** + Indicates whether tooltips are shown for disabled buttons. + + By default they are not shown. + + @since 2.9.5 + */ + void SetShowToolTipsForDisabled(bool show); + + /** + Sets whether tooltips should be shown for disabled buttons or not. + + You may wish to show it to explain why a button is disabled or + what it normally does when enabled. + + @since 2.9.5 + */ + bool GetShowToolTipsForDisabled() const; + }; /**