[wxPython-users] Different result on different OS

Andrea amarin at mr-service.it
Thu Apr 5 12:11:37 PDT 2007


On Thu, 2007-04-05 at 14:01 -0400, Mike Rooney wrote:
> I too have this problem under Windows XP with your code. I am not sure 
> why it happens, but to fix it you can add self.Refresh() at the end of 
> OnCalculate.

Fortunately, is not my mistake, I'm studying python and wxPython only
from a mounth, and I thought that this is my error.   

> Also, in your OnOpen method you don't return or do anything if the 
> result is not wx.ID_OK, so if you click cancel or close the open dialog 
> it throws an exception. Just a thing I noticed.

Ok, I see that but I don't understand what can I do for catch the
exeption.

Thanks Andrea



-- 
Jabber : baba-andrea at jabber.org
Skype  : baba-andrea79
Blog   : http://andrea.ildnplanet.net





More information about the wxpython-users mailing list