New submission from Andy Wildenberg andy.wildenb...@gmail.com:
This was originally posted on
http://stackoverflow.com/questions/1800452/how-to-intercept-wm-delete-window-on-osx-using-tkinter
but seems not to have been reported as a bug.
On OS X (10.6.8, python 2.6.1) register a protocol on
Ned Deily n...@acm.org added the comment:
Works for me using the Pythons installed from the python.org 2.6.6 or 2.7.2
installer and with the current ActiveState Tcl/Tk 8.4 (for 2.6.6) and 8.5 (for
2.7.2) releases installed. Chances are this was a bug in the Apple-supplied
Cocoa Tcl/Tk 8.5