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:
Robert Roebling 2004-02-22 18:12:13 +00:00
parent 65a1f3509b
commit 48fbb5214d
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;