X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c4cd8712cda832bdff40e7f4ee208c1075d9157d..985acf8734d61067c66b4812a9dd9da90d725851:/src/msw/treectrl.cpp?ds=sidebyside diff --git a/src/msw/treectrl.cpp b/src/msw/treectrl.cpp index f3733657d9..fac8ddbaee 100644 --- a/src/msw/treectrl.cpp +++ b/src/msw/treectrl.cpp @@ -934,7 +934,7 @@ void wxTreeCtrl::SetItemText(const wxTreeItemId& item, const wxString& text) { if ( item == m_idEdited ) { - ::SetWindowText(hwndEdit, text); + ::SetWindowText(hwndEdit, text.wx_str()); } } }