Mercurial > dwindows
diff os2/dw.c @ 1659:d06255e46ce2
Fix auto-sizing bitmap buttons with icons on Windows 7 (and maybe Vista).
The buttons will return an invalid HBITMAP on these platforms if you set
the button to a HICON... so query the HICON first instead of HBITMAP.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 16 Apr 2012 17:01:49 +0000 |
parents | 6fe1e91da477 |
children | fc135161f2b1 |