]> git.saurik.com Git - wxWidgets.git/commitdiff
oops, commiting too fast, forgot to fix a small typo
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 16 Feb 2002 01:44:38 +0000 (01:44 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 16 Feb 2002 01:44:38 +0000 (01:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mgl/window.cpp

index b9db7ceb62365ec4be6ca457669321203896199d..720c058d8f8b77fb2a96ed8c1e51d65063ede210 100644 (file)
@@ -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));
 }