From ac37d783888839534740a018e59cd9eeff72024e Mon Sep 17 00:00:00 2001 From: Leland Lucius Date: Wed, 11 Mar 2020 01:44:21 -0500 Subject: [PATCH] Windows requires an explicit tooltip unset Linux and Mac did not, but it doesn't hurt to do it for all. --- src/CellularPanel.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/CellularPanel.cpp b/src/CellularPanel.cpp index ea7712b28..670e2b527 100644 --- a/src/CellularPanel.cpp +++ b/src/CellularPanel.cpp @@ -842,6 +842,11 @@ void CellularPanel::HandleClick( const TrackPanelMouseEvent &tpmEvent ) else { Filter::spActivePanel = this; +#if wxUSE_TOOLTIPS + // Remove any outstanding tooltip + UnsetToolTip(); +#endif + if( !HasFocus() && AcceptsFocus() ) SetFocusIgnoringChildren();