changeset 1431:0676561865ac

Better extra border values for bitmap buttons on Windows. Visual C Makefile warning removal.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sun, 04 Dec 2011 21:29:26 +0000
parents cfc7af97c295
children 6aa94c8a91de
files makefile.vc win/dw.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/makefile.vc	Sun Dec 04 20:18:50 2011 +0000
+++ b/makefile.vc	Sun Dec 04 21:29:26 2011 +0000
@@ -113,7 +113,7 @@
 $(OBJS2) $(RES)
 $(LIBS)
 <<
-	lib /def:$(DEFFILE2) /out:dwcompat.lib
+	lib /def:$(DEFFILE2) /machine:$(TARGET_CPU) /out:dwcompat.lib
 	mt.exe /manifest dwcompat.dll.manifest /outputresource:dwcompat.dll;2
         copy dwcompat.lib $(DWLIBDIR)\dwcompat.lib
         copy dwcompat.dll $(DWDLLDIR)\dwcompat.dll
--- a/win/dw.c	Sun Dec 04 20:18:50 2011 +0000
+++ b/win/dw.c	Sun Dec 04 21:29:26 2011 +0000
@@ -4433,8 +4433,8 @@
       /* Bitmap buttons */
       if(hbm)
       {
-         extrawidth = 2;
-         extraheight = 2;
+         extrawidth = 5;
+         extraheight = 5;
       }
       /* Checkbox or radio button */
       else if(style & BS_AUTOCHECKBOX || style & BS_AUTORADIOBUTTON)