Tk Source Code

Check-in [27e30f4a]
Login

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

Overview
Comment:merge-mark
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 27e30f4a011c1610033d70c10719a3af53a9bddb
User & Date: jan.nijtmans 2011-03-10 16:03:22
Context
2011-03-11
09:19
Eliminate some unneeded write-only variables (discovered by gcc-4.6) check-in: f8b0c7f2 user: jan.nijtmans tags: trunk
2011-03-10
16:03
merge-mark check-in: 27e30f4a user: jan.nijtmans tags: trunk
15:27
[Bug 3205260] avoid crash in wm manage of children with null class

The tkhtml widget doesn't set it's window class. The Windows implementation of the wm manage command checks to see if the contained window is actually a menu (looking for torn-off menus) by examining the class. This patch adds a check for a null class to avoid crashing as suggested.

Suggested-by: Eric Boudaillier <[email protected]> Signed-off-by: Pat Thoyts <[email protected]> check-in: 27afdfb6 user: patthoyts tags: core-8-5-branch

12:26
[Bug 3205260] avoid crash in wm manage of children with null class

The tkhtml widget doesn't set it's window class. The Windows implementation of the wm manage command checks to see if the contained window is actually a menu (looking for torn-off menus) by examining the class. This patch adds a check for a null class to avoid crashing as suggested.

Suggested-by: Eric Boudaillier <[email protected]> Signed-off-by: Pat Thoyts <[email protected]> check-in: 6c9715e8 user: patthoyts tags: trunk

Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch