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
This commit is contained in:
Julian Smart
2006-03-11 14:22:55 +00:00
parent 7db713aea6
commit d8909578f7

View File

@@ -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();
}
// ----------------------------------------------------------------------------