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