Mercurial > dwindows
changeset 929:d7e88ac1647c
Removed some code that had been used for debugging the layout code.
Also put in a missing resize handler on scrollboxes.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 23 Apr 2011 13:37:17 +0000 |
parents | 43a5b3c78c41 |
children | b6ee515cad8a |
files | mac/dw.m |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mac/dw.m Sat Apr 23 13:05:03 2011 +0000 +++ b/mac/dw.m Sat Apr 23 13:37:17 2011 +0000 @@ -2022,10 +2022,6 @@ int nupx = *usedpadx, nupy = *usedpady; int thispadx = thisbox->pad * 2; int thispady = thisbox->pad * 2; - char tmpbuf[20], tabbuf[] = "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t"; - strcpy(tmpbuf, tabbuf); - - tmpbuf[*depth] = '\0'; /* Handle special groupbox case */ if(thisbox->grouphwnd) @@ -2418,6 +2414,7 @@ /* Layout the content of the scrollbox */ _do_resize(thisbox, contentsize.width, contentsize.height); + _handle_resize_events(thisbox); } /* Special handling for spinbutton controls */ else if([handle isMemberOfClass:[DWSpinButton class]])