On Sat, 13 Aug 2005 16:34:17 -0700, perchef wrote: > nope, I have put md.Destroy() away and it didn't change something. > I don't think that's the problem because ShowModal() is a blocking > method, execution is stop until you press YES or NO (in my case with > wx.YES_NO) Just a thought, do you cal the event loop ? Because this minimal example just works like it should.
import wx app = wx.PySimpleApp() md = wx.MessageDialog(None,'foo','bar',wx.YES_NO) result = md.ShowModal() app.MainLoop() Stas -- http://mail.python.org/mailman/listinfo/python-list