]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/treectlg.cpp
Themed headers for wxListCtrl.
[wxWidgets.git] / src / generic / treectlg.cpp
index c65b85bf946f3f383a69966488fb1c5e6e1187cd..e9a1973d8b2acb80ffd0f2702a73890b9b279fe0 100644 (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 );
                 }