I have a Frame called ChangeDirPanel and an other one called MyFrame, the last one is the top-lvl window and has a function called file_show_dir which updates a listbox in that same window.
(both frames have their own class, is it better to have the same class?)
I want to run the function from an other frame (the changedirpanel)
but somehow the listbox isn't updated =(
I really don't see why
ChangeDirPanel class
class ChangeDirPanel(wx.Frame):
#left init away
def changedir(self, event): # wxGlade: ChangeDirPanel.<event_handler>
myframe = MyFrame(None, -1, "")
myrame.SetStatusText("Hello")
myframe.filedir = self.text_ctrl_16.GetValue()
myframe.file_show_dir()
def cancel(self, event): # wxGlade: ChangeDirPanel.<event_handler>
self.Close()
# end of class ChangeDirPanel