X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f45d6ade08b5b19979f62d0b641f5b86c3a37e6e..e6ba38871f6cc5c02391c04e37e481d0428cef3f:/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,