projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dd11f9
)
fix for crash when pressing TAB in the tree text control
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Sat, 9 Jun 2001 15:57:51 +0000
(15:57 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Sat, 9 Jun 2001 15:57:51 +0000
(15:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10470
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/msw/treectrl.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/msw/treectrl.cpp
b/src/msw/treectrl.cpp
index ddae7272b4e61137d4861ea76ea87af130fb1417..1754ffbff3904b6b0928c16c62baa1bb54a032d8 100644
(file)
--- a/
src/msw/treectrl.cpp
+++ b/
src/msw/treectrl.cpp
@@
-1639,6
+1639,7
@@
wxTextCtrl* wxTreeCtrl::EditLabel(const wxTreeItemId& item,
}
m_textCtrl = (wxTextCtrl *)textControlClass->CreateObject();
+ m_textCtrl->SetParent(this);
m_textCtrl->SetHWND((WXHWND)hWnd);
m_textCtrl->SubclassWin((WXHWND)hWnd);