Mercurial > dwindows
diff win/dw.c @ 1441:b9577d1f0411
Removed some debug code on Windows and updated the layout code in the template.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 08 Dec 2011 11:43:28 +0000 |
parents | c50f445e891a |
children | 02a329b2b0cd |
line wrap: on
line diff
--- a/win/dw.c Thu Dec 08 10:10:54 2011 +0000 +++ b/win/dw.c Thu Dec 08 11:43:28 2011 +0000 @@ -1299,14 +1299,6 @@ height = y - (itempad + thispad + thisbox->grouppady); } - if(width < 1 || height < 1) - { - char tmpbuf[100]; - - GetClassName(thisbox->items[z].hwnd, tmpbuf, 99); - dw_debug("Class %s %dx%d width %d height %d\n", tmpbuf, currentx + thisbox->items[z].pad, currenty + thisbox->items[z].pad, width, height); - } - /* If the calculated size is valid... */ if(width > 0 && height > 0) { @@ -1315,7 +1307,6 @@ char tmpbuf[100]; GetClassName(handle, tmpbuf, 99); - dw_debug("Class %s %dx%d width %d height %d\n", tmpbuf, currentx + pad, currenty + pad, width, height); if(strnicmp(tmpbuf, COMBOBOXCLASSNAME, strlen(COMBOBOXCLASSNAME)+1)==0) {