Optionally allow showing tooltips for disabled ribbon buttons.
Add wxRibbonButtonBar::SetShowToolTipsForDisabled() to allow enabling the tooltips even for the disabled buttons. Closes #14820. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -147,6 +147,10 @@ public:
|
||||
virtual bool IsSizingContinuous() const;
|
||||
|
||||
virtual wxSize GetMinSize() const;
|
||||
|
||||
void SetShowToolTipsForDisabled(bool show);
|
||||
bool GetShowToolTipsForDisabled() const;
|
||||
|
||||
protected:
|
||||
friend class wxRibbonButtonBarEvent;
|
||||
virtual wxSize DoGetBestSize() const;
|
||||
@@ -186,6 +190,7 @@ protected:
|
||||
int m_current_layout;
|
||||
bool m_layouts_valid;
|
||||
bool m_lock_active_state;
|
||||
bool m_show_tooltips_for_disabled;
|
||||
|
||||
#ifndef SWIG
|
||||
DECLARE_CLASS(wxRibbonButtonBar)
|
||||
|
Reference in New Issue
Block a user