X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/edb8f2985fc838f92c60d9efd42462441f3caea9..8dcfd2f963134802bc1585e1a9f7737238d9e893:/src/generic/treectlg.cpp diff --git a/src/generic/treectlg.cpp b/src/generic/treectlg.cpp index 05cfdf1187..c7732185bc 100644 --- a/src/generic/treectlg.cpp +++ b/src/generic/treectlg.cpp @@ -1570,6 +1570,8 @@ void wxGenericTreeCtrl::Unselect() { m_current->SetHilight( FALSE ); RefreshLine( m_current ); + + m_current = NULL; } }