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:
@@ -244,8 +244,9 @@ wxToolTip::wxToolTip(const wxString &tip)
|
|||||||
|
|
||||||
wxToolTip::~wxToolTip()
|
wxToolTip::~wxToolTip()
|
||||||
{
|
{
|
||||||
// there is no need to Remove() this tool - it will be done automatically
|
// the tooltip has to be removed before deleting. Otherwise, if it is visible
|
||||||
// anyhow
|
// while being deleted, there will be a delay before it goes away.
|
||||||
|
Remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user