fix for crash when pressing TAB in the tree text control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user