Re: wx.MessageDialog displayed without components inside

2005-08-14 Thread perchef
yes, it did work. -- http://mail.python.org/mailman/listinfo/python-list

Re: wx.MessageDialog displayed without components inside

2005-08-14 Thread stas
On Sun, 14 Aug 2005 07:45:10 -0700, perchef wrote: > >> Just a thought, do you call the event loop ? > yes i do. > I really can't see my a MessageDialog would appear without components > inside. maybe a thread problem ? Does the example I gave work? I mean when you copy and paste it does it show

Re: wx.MessageDialog displayed without components inside

2005-08-14 Thread perchef
> Just a thought, do you call the event loop ? yes i do. I really can't see my a MessageDialog would appear without components inside. maybe a thread problem ? -- http://mail.python.org/mailman/listinfo/python-list

Re: wx.MessageDialog displayed without components inside

2005-08-14 Thread stas
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 ca

Re: wx.MessageDialog displayed without components inside

2005-08-13 Thread perchef
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) -- http://mail.python.org/mailman/listinfo/python-list

Re: wx.MessageDialog displayed without components inside

2005-08-13 Thread stas
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

wx.MessageDialog displayed without components inside

2005-08-13 Thread perchef
Is there a reason why a wx.MessageDialog would be displayed without components inside ? this : md = wx.MessageDialog(None,'foo','bar',wx.YES_NO) result = md.ShowModal() md.Destroy() In my application, give me : http://img252.imageshack.us/my.php?image=messagedialog6nw.jpg This isn't a bug in wx