Minor corrections to native renderer. I also corrected

the header button renderer as per MSW, this might break
    other code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2006-04-25 10:47:29 +00:00
parent 85e5bb6a95
commit 506d54a3f6

View File

@@ -197,7 +197,7 @@ wxRendererGTK::DrawHeaderButton(wxWindow *win,
NULL, NULL,
button, button,
"button", "button",
dc.XLOG2DEV(rect.x) -1, rect.y -1, rect.width +2, rect.height +2 dc.XLOG2DEV(rect.x), rect.y, rect.width, rect.height
); );
} }
@@ -463,7 +463,9 @@ wxRendererGTK::DrawCheckButton(wxWindow *win,
NULL, NULL,
button, button,
"cellcheck", "cellcheck",
rect.x, rect.y, 13, 13 dc.LogicalToDeviceX(rect.x)+2,
dc.LogicalToDeviceY(rect.y)+3,
13, 13
); );
} }