[Python-checkins] python/dist/src/PC/bdist_wininst install.c,
1.1.14.1, 1.1.14.2
theller at users.sourceforge.net
theller at users.sourceforge.net
Fri Jul 2 03:54:33 EDT 2004
Update of /cvsroot/python/python/dist/src/PC/bdist_wininst
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31021
Modified Files:
Tag: release23-maint
install.c
Log Message:
Fix for SF 982215: bdist_wininst - Next button not greyed out during file copy.
Patch from Mark Hammond.
Recompiled binary.
Index: install.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/PC/bdist_wininst/install.c,v
retrieving revision 1.1.14.1
retrieving revision 1.1.14.2
diff -C2 -d -r1.1.14.1 -r1.1.14.2
*** install.c 15 Apr 2004 17:50:42 -0000 1.1.14.1
--- install.c 2 Jul 2004 07:54:30 -0000 1.1.14.2
***************
*** 1590,1593 ****
--- 1590,1601 ----
hDialog = hwnd;
+ /* Disable the buttons while we work. Sending CANCELTOCLOSE has
+ the effect of disabling the cancel button, which is a) as we
+ do everything synchronously we can't cancel, and b) the next
+ step is 'finished', when it is too late to cancel anyway.
+ The next step being 'Finished' means we also don't need to
+ restore the button state back */
+ PropSheet_SetWizButtons(GetParent(hwnd), 0);
+ SendMessage(GetParent(hwnd), PSM_CANCELTOCLOSE, 0, 0);
/* Make sure the installation directory name ends in a */
/* backslash */
More information about the Python-checkins
mailing list