From: Vadim Zeitlin Date: Fri, 12 Sep 2008 15:47:06 +0000 (+0000) Subject: STL build fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/cc5e20f8387a6d9c88ae2cd7dd4b4028f64d0b1c STL build fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/msgdlg.cpp b/src/msw/msgdlg.cpp index c0b9100fed..fcc722cb35 100644 --- a/src/msw/msgdlg.cpp +++ b/src/msw/msgdlg.cpp @@ -258,7 +258,7 @@ void wxMessageDialog::ReplaceStaticWithEdit() HWND hwndEdit = ::CreateWindow ( _T("EDIT"), - wxTextBuffer::Translate(text), + wxTextBuffer::Translate(text).wx_str(), WS_CHILD | WS_VSCROLL | WS_VISIBLE | ES_MULTILINE | ES_READONLY | ES_AUTOVSCROLL, rc.left, rc.top,