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:
parent
e37ce17035
commit
bdb310a720
@ -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 );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user