From: Robert Roebling Date: Sun, 13 Feb 2000 14:50:47 +0000 (+0000) Subject: Reverted Vadims change for the size of filled X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0f820c97cacb0a0ba4346531dd8e34d74e1f14a0 Reverted Vadims change for the size of filled 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 --- diff --git a/src/msw/dc.cpp b/src/msw/dc.cpp index e952121916..8af1f9b506 100644 --- a/src/msw/dc.cpp +++ b/src/msw/dc.cpp @@ -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));