changeset 1073:659b3c6a8959

Bitmap type widgets shouldn't rescale the image to fit on Windows. It should center and/or clip to fit into the area for consistency with other platforms.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 25 Jun 2011 03:15:29 +0000
parents 5772fa5e24b3
children 53fc692279fc
files win/dw.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/win/dw.c	Sat Jun 25 03:14:05 2011 +0000
+++ b/win/dw.c	Sat Jun 25 03:15:29 2011 +0000
@@ -4574,7 +4574,7 @@
 {
    return CreateWindow(STATICCLASSNAME,
                   "",
-                  SS_BITMAP | WS_VISIBLE |
+                  SS_BITMAP | SS_CENTERIMAGE | WS_VISIBLE |
                   WS_CHILD | WS_CLIPCHILDREN,
                   0,0,2000,1000,
                   DW_HWND_OBJECT,