]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/treectrl.cpp
reverted wxSocket changes of rev 48723 as they broke linking under non-Unix systems
[wxWidgets.git] / src / msw / treectrl.cpp
index f3733657d919e55438873dba35c8695b4cffc7db..fac8ddbaeeebe070ca79e5e5807e571ccc58c2cb 100644 (file)
@@ -934,7 +934,7 @@ void wxTreeCtrl::SetItemText(const wxTreeItemId& item, const wxString& text)
     {
         if ( item == m_idEdited )
         {
     {
         if ( item == m_idEdited )
         {
-            ::SetWindowText(hwndEdit, text);
+            ::SetWindowText(hwndEdit, text.wx_str());
         }
     }
 }
         }
     }
 }