]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed off-by-one error
authorVáclav Slavík <vslavik@fastmail.fm>
Mon, 15 Oct 2001 22:54:44 +0000 (22:54 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Mon, 15 Oct 2001 22:54:44 +0000 (22:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mgl/dc.cpp

index babad279d20354b9186cae184908ecc078bf813a..452ded710ba284b3ed23066bbc8b74d761813554 100644 (file)
@@ -322,7 +322,7 @@ void wxDC::Clear()
         SetBrush(m_backgroundBrush);
         SelectBrush();
         GetSize(&w, &h);
-        m_MGLDC->fillRect(0, 0, w-1, h-1);
+        m_MGLDC->fillRect(0, 0, w, h);
         SetBrush(oldb);
     }
 }