projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edb8f29
)
really remove the selection when Unselect() is called
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Mon, 8 Jul 2002 16:43:28 +0000
(16:43 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Mon, 8 Jul 2002 16:43:28 +0000
(16:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16084
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/generic/treectlg.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/generic/treectlg.cpp
b/src/generic/treectlg.cpp
index 05cfdf1187b65e04465f16a5e50d30f96ff8df5b..c7732185bc8dac6c09f02d7a895da582cc3cc638 100644
(file)
--- 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;
}
}