]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/msgdlg.cpp
Added wxPGProperty::OnValidationFailure(); needed it and some other tweaks to allow...
[wxWidgets.git] / 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,