Tk Source Code

Artifact [ef6c8eb4]
Login

Artifact ef6c8eb4eb5b32367a3219fe40f907539cb04a630d80e37c4ce53d6556b4e723:

Attachment "tkMacOSXWm.patch" to ticket [505fe5a0] added by bouvier 2019-06-24 07:13:57. (unpublished)
Index: macosx/tkMacOSXWm.c
==================================================================
--- macosx/tkMacOSXWm.c
+++ macosx/tkMacOSXWm.c
@@ -1013,11 +1013,11 @@
 	 * be deallocated.  But don't do this for the root window as that is
 	 * unnecessary and can lead to segfaults.
 	 */
 
 	if (winPtr->parentPtr) {
-	    while (Tk_DoOneEvent(TK_WINDOW_EVENTS|TK_DONT_WAIT)) {}
+	    while (Tcl_DoOneEvent(TCL_WINDOW_EVENTS|TCL_DONT_WAIT)) {}
 	}
 	[NSApp _resetAutoreleasePool];
 #if DEBUG_ZOMBIES > 0
 	fprintf(stderr, "================= Pool dump ===================\n");
 	[NSAutoreleasePool showPools];