def set_file_picker_wildcard(self, extra_data_wildcard):
    if (extra_data_wildcard is None):
        self.extraDataFilePicker.Disable()
        return
    picker_parent = self.extraDataFilePicker.GetParent()
    new_picker = wx.FilePickerCtrl(picker_parent, wx.ID_ANY, wx.EmptyString, u'Select a file', extra_data_wildcard, wx.DefaultPosition, wx.DefaultSize, (((((wx.FLP_DEFAULT_STYLE | wx.FLP_FILE_MUST_EXIST) | wx.FLP_OPEN) | wx.FLP_SMALL) | wx.FLP_USE_TEXTCTRL) | wx.BORDER_SIMPLE))
    self.GetSizer().Replace(self.extraDataFilePicker, new_picker, recursive=True)
    self.extraDataFilePicker.Destroy()
    self.extraDataFilePicker = new_picker
    self.Layout()
def set_file_picker_wildcard(self, extra_data_wildcard):
    if (extra_data_wildcard is None):
        self.extraDataFilePicker.Disable()
        return
    picker_parent = self.extraDataFilePicker.GetParent()
    new_picker = wx.FilePickerCtrl(picker_parent, wx.ID_ANY, wx.EmptyString, u'Select a file', extra_data_wildcard, wx.DefaultPosition, wx.DefaultSize, (((((wx.FLP_DEFAULT_STYLE | wx.FLP_FILE_MUST_EXIST) | wx.FLP_OPEN) | wx.FLP_SMALL) | wx.FLP_USE_TEXTCTRL) | wx.BORDER_SIMPLE))
    self.GetSizer().Replace(self.extraDataFilePicker, new_picker, recursive=True)
    self.extraDataFilePicker.Destroy()
    self.extraDataFilePicker = new_picker
    self.Layout()