I don't understand what the original author
of the current list ctrl header button code under Mac meant with "CORNER", but the whole thing is off by 1. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
65a1f3509b
commit
48fbb5214d
@ -134,8 +134,8 @@ wxRendererMac::DrawHeaderButton(wxWindow *win,
|
|||||||
{
|
{
|
||||||
const int CORNER = 1;
|
const int CORNER = 1;
|
||||||
|
|
||||||
const wxCoord x = rect.x,
|
const wxCoord x = rect.x-1,
|
||||||
y = rect.y,
|
y = rect.y-1,
|
||||||
w = rect.width,
|
w = rect.width,
|
||||||
h = rect.height;
|
h = rect.height;
|
||||||
|
|
||||||
|
@ -134,8 +134,8 @@ wxRendererMac::DrawHeaderButton(wxWindow *win,
|
|||||||
{
|
{
|
||||||
const int CORNER = 1;
|
const int CORNER = 1;
|
||||||
|
|
||||||
const wxCoord x = rect.x,
|
const wxCoord x = rect.x-1,
|
||||||
y = rect.y,
|
y = rect.y-1,
|
||||||
w = rect.width,
|
w = rect.width,
|
||||||
h = rect.height;
|
h = rect.height;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user