def hdlr_btn_select_2(self, event): # wxGlade: MyBaseFrame.<event_handler> list_filter = 'Excel XML file (*.xml)|*.xml' fcd = FileChooser(wcd=list_filter) fname = fcd.get_path() if fname: self.text_ctrl_2.SetValue(fname) event.Skip()
def hdlr_btn_select_3(self, event): # wxGlade: MyBaseFrame.<event_handler> list_filter = 'Text file (*.txt)|*.txt' fcd = FileChooser(wcd=list_filter) fname = fcd.get_path() if fname: self.text_ctrl_3.SetValue(fname) event.Skip()