]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/window.cpp
MSVC 5 does not have BIF_EDITBOX.
[wxWidgets.git] / src / mgl / window.cpp
index 1b6606e260c98290656b2476e162127746b6f6e9..562756b248f585c1afd6ded9a8f80e2ade192560 100644 (file)
@@ -129,7 +129,8 @@ static void wxCaptureScreenshot(bool activeWindowOnly)
     g_displayDC->savePNGFromDC(screenshot.mb_str(), 
                                r.x, r. y, r.x+r.width, r.y+r.height);
     
-    wxMessageBox(_("Screenshot captured: ") + wxString(screenshot));
+    wxMessageBox(wxString::Format(_T("Screenshot captured: %s"),
+                                  screenshot.c_str()));
 }
 
 // ---------------------------------------------------------------------------