diff mac/dw.m @ 1411:22ba64e357de

Initial versions of code to figure out control sizes for Windows and OS/2... and some fixes for the Mac version.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 02 Dec 2011 08:22:11 +0000
parents c607fd86e5c2
children 461240f946d0
line wrap: on
line diff
--- a/mac/dw.m	Thu Dec 01 21:37:03 2011 +0000
+++ b/mac/dw.m	Fri Dec 02 08:22:11 2011 +0000
@@ -3534,7 +3534,7 @@
             case NSSwitchButton:
             case NSRadioButton:
                 extrawidth = 24;
-                extraheight = 4;                
+                extraheight = 4;
                 break;
             default:
                 if([object isBordered])
@@ -3577,7 +3577,6 @@
     if(nsstr && [nsstr length])
         dw_font_text_extents_get(object, NULL, (char *)[nsstr UTF8String], &thiswidth, &thisheight);
 
-    NSLog(@"Class %@ Width %d Height %d Extra Width %d Extra Height %d\n", [object className], thiswidth, thisheight, extrawidth, extraheight); 
     /* Set the requested sizes */    
     if(width)
         *width = thiswidth + extrawidth;