From d8909578f70e31e042ec5f82c7db9e94a3ab4b69 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sat, 11 Mar 2006 14:22:55 +0000 Subject: [PATCH] Applied [ 1425529 ] Tooltip was not removed on deletion git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/tooltip.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/msw/tooltip.cpp b/src/msw/tooltip.cpp index 052fbca0b9..17bcc3fce8 100644 --- a/src/msw/tooltip.cpp +++ b/src/msw/tooltip.cpp @@ -244,8 +244,9 @@ wxToolTip::wxToolTip(const wxString &tip) wxToolTip::~wxToolTip() { - // there is no need to Remove() this tool - it will be done automatically - // anyhow + // the tooltip has to be removed before deleting. Otherwise, if it is visible + // while being deleted, there will be a delay before it goes away. + Remove(); } // ---------------------------------------------------------------------------- -- 2.50.0