X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4d8209b9070ea7120078e83a648f3627e57bc15a..40df8a51f2d922237dd11a5ff14532ea744027b7:/interface/wx/ribbon/buttonbar.h diff --git a/interface/wx/ribbon/buttonbar.h b/interface/wx/ribbon/buttonbar.h index 08951900f2..8bc04b0893 100644 --- a/interface/wx/ribbon/buttonbar.h +++ b/interface/wx/ribbon/buttonbar.h @@ -485,6 +485,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; + }; /**