diff win/dw.c @ 1456:6bf5dc7da45d

Added automatic widget size detection a variety of places in dwtest. Fixed missing extra height in spinbutton detection on Windows.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 15 Dec 2011 22:03:54 +0000
parents fb4a71126df5
children e325f98a2792
line wrap: on
line diff
--- a/win/dw.c	Thu Dec 15 11:17:25 2011 +0000
+++ b/win/dw.c	Thu Dec 15 22:03:54 2011 +0000
@@ -4261,6 +4261,7 @@
    {
       dw_font_text_extents_get(handle, NULL, testtext, NULL, &thisheight);
       thiswidth = 50;
+      extraheight = 6;
    }
    /* Entryfields */
    else if(strnicmp(tmpbuf, EDITCLASSNAME, strlen(EDITCLASSNAME)+1) == 0 &&