Mercurial > dwindows
comparison win/dw.c @ 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 | fbaec6e5df63 |
children | 2cca36ec3da6 |
comparison
equal
deleted
inserted
replaced
1430:cfc7af97c295 | 1431:0676561865ac |
---|---|
4431 ULONG style = GetWindowLong(handle, GWL_STYLE); | 4431 ULONG style = GetWindowLong(handle, GWL_STYLE); |
4432 | 4432 |
4433 /* Bitmap buttons */ | 4433 /* Bitmap buttons */ |
4434 if(hbm) | 4434 if(hbm) |
4435 { | 4435 { |
4436 extrawidth = 2; | 4436 extrawidth = 5; |
4437 extraheight = 2; | 4437 extraheight = 5; |
4438 } | 4438 } |
4439 /* Checkbox or radio button */ | 4439 /* Checkbox or radio button */ |
4440 else if(style & BS_AUTOCHECKBOX || style & BS_AUTORADIOBUTTON) | 4440 else if(style & BS_AUTOCHECKBOX || style & BS_AUTORADIOBUTTON) |
4441 { | 4441 { |
4442 extrawidth = 24; | 4442 extrawidth = 24; |