(the break in OnClose of class Frame is wrong (there is no loop)).
Maybe this is an issue with GTK2 (?).
On my machine (WinXP), wxPython Version: 2.5.4.1pre.20050226, Python
2.4, it works well, whatever I close first, or I say "no, don't close".
···
On Tue, 01 Mar 2005 15:56:16 +0100, Christian Kristukat <ckkart@hoc.net> wrote:
Thanks a lot for your help, but your proposal still doesn't work. The problem is
that you cycle through the original frames list in AppFrame.OnClose which is
modified by the childs' OnClose. I changed AppFrame.OnClose again and I'm back
at my old problem... see below.
Maybe this is an issue with GTK2 (?).
On my machine (WinXP), wxPython Version: 2.5.4.1pre.20050226, Python
2.4, it works well, whatever I close first, or I say "no, don't close".
Because on MSW the wxMessageDialog is not really a wxDialog, but rather a wrapper around a API function.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!