[Pythonmac-SIG] EditPythonPrefs problem fixed

Jack Jansen jack@oratrix.nl
Sat, 14 Oct 2000 00:37:49 +0200

Ok, I fixed the EditPythonPrefs problem. Or, fixed, worked-around more 
likely. The problem is that modal appearance dialogs need to get their 
activate event iafter they've been overlayed by another dialog (and
this dialog has subsequently gone again) to re-enable their buttons.

But: the activate event is quietly eaten by the MacPython mainloop
event handling code.

The workaround is to call MacOS.SchedParams(1,0) before posting a
modal dialog that may be overlayed. But if anyone has a better
solution: please let me know...
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack    | ++++ see http://www.xs4all.nl/~tank/ ++++