Do not use Tooltips if they are disabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e1bdb16a91
commit
c437b3f4e4
@ -186,13 +186,15 @@ protected:
|
||||
|
||||
// wxWindow overrides:
|
||||
|
||||
virtual void DoSetToolTip( wxToolTip *tip )
|
||||
#if wxUSE_TOOLTIPS
|
||||
virtual void DoSetToolTip( wxToolTip *tip )
|
||||
{
|
||||
wxASSERT_MSG(!HasFlag(wxSTB_SHOW_TIPS),
|
||||
"Do not set tooltip(s) manually when using wxSTB_SHOW_TIPS!");
|
||||
wxWindow::DoSetToolTip(tip);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user