]> git.saurik.com Git - wxWidgets.git/commitdiff
Reverted Vadims change for the size of filled
authorRobert Roebling <robert@roebling.de>
Sun, 13 Feb 2000 14:50:47 +0000 (14:50 +0000)
committerRobert Roebling <robert@roebling.de>
Sun, 13 Feb 2000 14:50:47 +0000 (14:50 +0000)
  rects, the are the same now on GTK and Win95.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/dc.cpp

index e952121916fff6c25d372cede4e95421e18cea8b..8af1f9b5061e257c149319f47c804281a0f049c7 100644 (file)
@@ -550,8 +550,8 @@ void wxDC::DoDrawRectangle(wxCoord x, wxCoord y, wxCoord width, wxCoord height)
     // to have the same size regardless of which pen is used - adjust
     if ( m_pen.GetStyle() == wxTRANSPARENT )
     {
-        x2++;
-        y2++;
+//        x2++;
+//        y2++;
     }
 
     (void)Rectangle(GetHdc(), XLOG2DEV(x), YLOG2DEV(y), XLOG2DEV(x2), YLOG2DEV(y2));