Roy Smith <[EMAIL PROTECTED]> writes: > Isn't this the kind of thing that the new-fangled "with" statement is > supposed to solve?
1) that would require rewriting the wx.TextEntryDialog to have an exit method. 2) It's not necessarily always the case that you want to destroy the dialog when the function returns. You might want to keep the dialog around for some reason. -- http://mail.python.org/mailman/listinfo/python-list