[issue1601] IDLE not working correctly on Windows (Py30a2/IDLE30a1)

Amaury Forgeot d'Arc report at bugs.python.org
Tue Dec 18 02:34:57 CET 2007


Amaury Forgeot d'Arc added the comment:

I found that the huge font in menus is due to an error in the call to
SystemParametersInfo.
Digging more, vc2008 defines WINVER=0x0600, which corresponds to Windows
Vista, and is too high for Windows XP: this value activates the
definition of extra fields in the NONCLIENTMETRICS structure, and
SystemParametersInfo on Windows XP will not accept a sizeof() greater
than expected.

I recompiled tk, adding WINVER=0x500 to the command line:
nmake /f makefile.vc COMPILERFLAGS=-DWINVER=0x0500
And the menu is correctly displayed.
I suggest to add this to the build_tkinter script.

----------
nosy: +amaury.forgeotdarc

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1601>
__________________________________


More information about the Python-bugs-list mailing list