Tk Source Code

Check-in [b015fbc9]
Login

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

Overview
Comment:Fix [3009885fff]: tk_messageBox can return empty string on Windows.

When the container of a transient toplevel became visible again, e.g. after it was deiconified, the wrapper of the transient was recreated. This destroyed the dialogs owned by it, so a tk_messageBox with the transient as -parent closed and returned an empty string. Recreate the wrapper only if it is not yet owned by the container's wrapper.

Downloads: See separate download page
Timelines: family | ancestors | descendants | both | win-transient-keep-wrapper
Files: files | file ages | folders
SHA3-256: b015fbc9e388038ea3fcf2fa4ea5e75748e4c456a52e05557b93285a3d6f1165
User & Date: serhiy.storchaka 2026-10-02 18:41:37.324
Context
2026-10-14
13:52
Fix [3009885fff]: tk_messageBox can return empty string on Windows check-in: 3b64795c user: jan.nijtmans tags: trunk, main
2026-10-02
18:41
Fix [3009885fff]: tk_messageBox can return empty string on Windows.

When the container of a transient toplevel became visible again, e.g. after it was deiconified, the wrapper of the transient was recreated. This destroyed the dialogs owned by it, so a tk_messageBox with the transient as -parent closed and returned an empty string. Recreate the wrapper only if it is not yet owned by the container's wrapper. closed check-in: b015fbc9 user: serhiy.storchaka tags: win-transient-keep-wrapper

16:48
Fix for [3414673fff]: Improper look of ttk::checkbutton -style Toolbutton. check-in: bfa641b9 user: csaba tags: trunk, main
Changes
Unified Diff Side-by-Side Diff Patch
Changes to tests/winWm.test.
Changes to win/tkWinWm.c.