Hello!
I have created a dialog to select a file with wxpython and FileBrowseButton with this code.
fbb = wxfbb.FileBrowseButton(panel,labelText="Select an image file:", fileMask=mask, fileMode=wx.OPEN, size=(800,30))
markFile = fbb.GetValue()
I need to use the selected file for further actions. How can I do it? I have tried
return markFile
but I get this error
TypeError: __init__() should return None, not 'unicode'
Can anyone help?
Cheers!
Dani