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:
@@ -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));
|
||||
|
Reference in New Issue
Block a user