X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a1f7eb20e6cfbc3e3e4999b62639325bb43f9f81..94311eef78b66304c9a2f78bcbdd396c798f19a6:/src/mgl/window.cpp diff --git a/src/mgl/window.cpp b/src/mgl/window.cpp index 32d7e9936b..562756b248 100644 --- a/src/mgl/window.cpp +++ b/src/mgl/window.cpp @@ -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())); } // --------------------------------------------------------------------------- @@ -434,8 +435,8 @@ static bool wxHandleSpecialKeys(wxKeyEvent& event) #ifdef __WXDEBUG__ // FIXME_MGL - remove when KB_sysReq works in MGL! || (event.m_keyCode == WXK_F1 && event.m_shiftDown && event.m_controlDown) - ) #endif + ) { wxCaptureScreenshot(event.m_altDown/*only active wnd?*/); return TRUE;