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
This commit is contained in:
Robert Roebling
2000-02-13 14:50:47 +00:00
parent cacc9daee9
commit 0f820c97ca

View 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));