X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/edb8f2985fc838f92c60d9efd42462441f3caea9..72db8894790c0fc32a8a57e9e2f750e8f95222b1:/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; } }