]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/treectlg.cpp
window clipper added
[wxWidgets.git] / src / generic / treectlg.cpp
index 05cfdf1187b65e04465f16a5e50d30f96ff8df5b..c7732185bc8dac6c09f02d7a895da582cc3cc638 100644 (file)
@@ -1570,6 +1570,8 @@ void wxGenericTreeCtrl::Unselect()
     {
         m_current->SetHilight( FALSE );
         RefreshLine( m_current );
+
+        m_current = NULL;
     }
 }