X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f45d6ade08b5b19979f62d0b641f5b86c3a37e6e..d8812c6e0e780fb2dae99bc352c5061f58793e14:/src/msw/msgdlg.cpp 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,