Avoid showing 2 tooltips simultaneously in wxMSW wxListCtrl

Only show the built-in control tooltips if we're not showing any custom
ones.

Closes https://github.com/wxWidgets/wxWidgets/pull/1500

Closes #10492.
This commit is contained in:
oneeyeman1
2019-08-23 21:34:30 -05:00
committed by Vadim Zeitlin
parent 0b7a7141e3
commit 5e7b515349
2 changed files with 22 additions and 1 deletions

View File

@@ -390,6 +390,9 @@ protected:
{ return MSWGetBestViewRect(width, -1).y; }
virtual int DoGetBestClientWidth(int height) const wxOVERRIDE
{ return MSWGetBestViewRect(-1, height).x; }
#if wxUSE_TOOLTIPS
virtual void DoSetToolTip(wxToolTip *tip) wxOVERRIDE;
#endif // wxUSE_TOOLTIPS
wxSize MSWGetBestViewRect(int x, int y) const;