Wizard and refreshing wx.StaticText

M. Adv mailings at advantages.fr
Wed Sep 19 08:11:12 PDT 2007


Hi,

I am drawing a wizard. I have a button in the fist page who's open a 
file, if the file is ok, the name of the file is showed using :

self.sizer.Add(wx.StaticText(self, -1, 'You opened : %s'% 
os.path.split(path)[1],(0,110)))
wx.FindWindowById(wx.ID_FORWARD).Enable()

But If I open in a second time another file with a shorter filename, the 
en of the first filename is still showed !!

Do you know how to refresh the page ?

Thanks.





More information about the wxpython-users mailing list