git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25372
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
x_start = charWidth;
y_start = 15 ;
x_start = charWidth;
y_start = 15 ;
+ if ( UMAGetSystemVersion() >= 0x1030 )
+ {
+ //need to add a few more pixels for the top border on panther
+ y_start = y_start + 5; //how many exactly should this be to meet the HIG?
+ }
x_offset = x_start;
y_offset = y_start;
x_offset = x_start;
y_offset = y_start;
totHeight = GetRowCount() * (maxHeight + charHeight/2) + charHeight ;
totWidth = GetColumnCount() * (maxWidth + charWidth) + charWidth;
totHeight = GetRowCount() * (maxHeight + charHeight/2) + charHeight ;
totWidth = GetColumnCount() * (maxWidth + charWidth) + charWidth;
+ if ( UMAGetSystemVersion() >= 0x1030 )
+ {
+ //need to add a few more pixels for the static boxborder on panther
+ totHeight = totHeight + 10; //how many exactly should this be to meet the HIG?
+ }
// handle radio box title as well
GetTextExtent(GetTitle(), &eachWidth, NULL);
eachWidth = (int)(eachWidth + RADIO_SIZE) + 3 * charWidth ;
// handle radio box title as well
GetTextExtent(GetTitle(), &eachWidth, NULL);
eachWidth = (int)(eachWidth + RADIO_SIZE) + 3 * charWidth ;
x_start = charWidth;
y_start = 15 ;
x_start = charWidth;
y_start = 15 ;
+ if ( UMAGetSystemVersion() >= 0x1030 )
+ {
+ //need to add a few more pixels for the top border on panther
+ y_start = y_start + 5; //how many exactly should this be to meet the HIG?
+ }
x_offset = x_start;
y_offset = y_start;
x_offset = x_start;
y_offset = y_start;
totHeight = GetRowCount() * (maxHeight + charHeight/2) + charHeight ;
totWidth = GetColumnCount() * (maxWidth + charWidth) + charWidth;
totHeight = GetRowCount() * (maxHeight + charHeight/2) + charHeight ;
totWidth = GetColumnCount() * (maxWidth + charWidth) + charWidth;
+ if ( UMAGetSystemVersion() >= 0x1030 )
+ {
+ //need to add a few more pixels for the static boxborder on panther
+ totHeight = totHeight + 10; //how many exactly should this be to meet the HIG?
+ }
// handle radio box title as well
GetTextExtent(GetTitle(), &eachWidth, NULL);
eachWidth = (int)(eachWidth + RADIO_SIZE) + 3 * charWidth ;
// handle radio box title as well
GetTextExtent(GetTitle(), &eachWidth, NULL);
eachWidth = (int)(eachWidth + RADIO_SIZE) + 3 * charWidth ;