changeset 1025:3573878d1239

Make sure the initial spinbutton limits on Windows match the other platforms.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 18 May 2011 08:35:14 +0000
parents 814e4767277f
children f15dc5226c35
files win/dw.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/win/dw.c	Wed May 18 08:29:26 2011 +0000
+++ b/win/dw.c	Wed May 18 08:35:14 2011 +0000
@@ -5449,6 +5449,7 @@
                        NULL);
    ColorInfo *cinfo = calloc(1, sizeof(ColorInfo));
 
+   SendMessage(tmp, UDM_SETRANGE32, (WPARAM)-65536,(LPARAM)65536);
    SendMessage(tmp, UDM_SETBUDDY, (WPARAM)buddy, 0);
    cinfo->back = cinfo->fore = -1;
    cinfo->buddy = tmp;