On Sat, 13 Aug 2005 09:37:15 -0700, perchef wrote: > Is there a reason why a wx.MessageDialog would be displayed without > components inside ? > > this : > > md = wx.MessageDialog(None,'foo','bar',wx.YES_NO) Here you create a dialog
> result = md.ShowModal() Now you show it > md.Destroy() But right after showing it, you destroy it. > In my application, give me : > http://img252.imageshack.us/my.php?image=messagedialog6nw.jpg > > This isn't a bug in wxPython because when I use the same code in > pyshell I obtain the expected result. So, there must be a reason but I > can't figure out why. Because in the shell you first have to type the Destroy call so the dialog has some time to live. :-) Stas -- http://mail.python.org/mailman/listinfo/python-list