# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1303565837 0 # Node ID d7e88ac1647cc65b192fc96620bf22bcd2cad333 # Parent 43a5b3c78c4101383b541451f6a94e19a9779049 Removed some code that had been used for debugging the layout code. Also put in a missing resize handler on scrollboxes. diff -r 43a5b3c78c41 -r d7e88ac1647c mac/dw.m --- 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]])