attempt to fix crash in tree ctrl

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-09-12 16:27:41 +00:00
parent 95e98de61b
commit 07e9e6a82e

View File

@@ -2313,6 +2313,9 @@ void wxTreeCtrl::OnMouse( wxMouseEvent &event )
(flags & wxTREE_HITTEST_ONITEMLABEL) &&
HasFlag(wxTR_EDIT_LABELS) )
{
if ( m_renameTimer->IsRunning() )
m_renameTimer->Stop();
m_renameTimer->Start( 100, TRUE );
}