Tk Source Code

Check-in [0204f94e]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix [11bd4a03a0]: the Windows menu bar ignored the colors and fonts of the menu. A menu bar with non-default colors or fonts is now drawn by Tk, handling the undocumented WM_UAHDRAWMENU, WM_UAHDRAWMENUITEM and WM_UAHMEASUREMENUITEM messages. If they are not sent (e.g. Wine), the system draws it as before.
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | win-menubar-colors-uah
Files: files | file ages | folders
SHA3-256: 0204f94e459c241d5c5d880734b3dfad4348767dd25b047c8042e8bc6f3ef230
User & Date: serhiy.storchaka 2026-09-28 11:20:47.766
Context
2026-09-28
11:39
The default font of the menu is the system menu font specified by its name and size, not TkMenuFont: do not draw a menu bar with the default font by Tk. check-in: 738ed3c9 user: serhiy.storchaka tags: win-menubar-colors-uah
11:20
Fix [11bd4a03a0]: the Windows menu bar ignored the colors and fonts of the menu. A menu bar with non-default colors or fonts is now drawn by Tk, handling the undocumented WM_UAHDRAWMENU, WM_UAHDRAWMENUITEM and WM_UAHMEASUREMENUITEM messages. If they are not sent (e.g. Wine), the system draws it as before. check-in: 0204f94e user: serhiy.storchaka tags: win-menubar-colors-uah
10:02
Fix for [d3b9644729]: X11 <KeyRelease> broken. check-in: cd8ac5d1 user: csaba tags: trunk, main
Changes
Unified Diff Side-by-Side Diff Patch
Changes to tests/winMenu.test.
Changes to win/tkWinInt.h.
Changes to win/tkWinMenu.c.
Changes to win/tkWinWm.c.