attempt to fix crash in tree ctrl

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

View File

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