This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients JosephArmbruster, amaury.forgeotdarc, christian.heimes, kbk, mark
Date 2007-12-18.01:34:57
SpamBayes Score 0.47090682
Marked as misclassified No
Message-id <1197941697.8.0.917982979203.issue1601@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2007-12-18 01:34:58amaury.forgeotdarcsetspambayes_score: 0.470907 -> 0.47090682
recipients: + amaury.forgeotdarc, kbk, christian.heimes, mark, JosephArmbruster
2007-12-18 01:34:57amaury.forgeotdarcsetspambayes_score: 0.470907 -> 0.470907
messageid: <1197941697.8.0.917982979203.issue1601@psf.upfronthosting.co.za>
2007-12-18 01:34:57amaury.forgeotdarclinkissue1601 messages
2007-12-18 01:34:57amaury.forgeotdarccreate