oops, commiting too fast, forgot to fix a small typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -127,7 +127,7 @@ static void wxCaptureScreenshot(bool activeWindowOnly)
|
||||
}
|
||||
|
||||
g_displayDC->savePNGFromDC(screenshot.mb_str(),
|
||||
r.x, r. y, r.width, r.height);
|
||||
r.x, r. y, r.x+r.width, r.y+r.height);
|
||||
|
||||
wxMessageBox(_("Screenshot captured: ") + wxString(screenshot));
|
||||
}
|
||||
|
Reference in New Issue
Block a user