]> git.saurik.com Git - wxWidgets.git/commitdiff
STL build fix
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 12 Sep 2008 15:47:06 +0000 (15:47 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 12 Sep 2008 15:47:06 +0000 (15:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/msgdlg.cpp

index c0b9100fedc27dce6c2b05d240d087c83ae541b0..fcc722cb35952f1825ac2afe27d961a829bd65b2 100644 (file)
@@ -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,