Generally you tell the dialog which files you want to display ...
dlg = wx.FileDialog(self, "Open a file")
dlg.SetStyle(wx.OPEN)
wildcard = "Python files (.py)|*.py|" \
"PythonW files (.pyw)|*.pyw|" \
"All files (*.*)|*.*"
dlg.SetWildcard(wildcard)
Last edited by vegaseat; Jun 22nd, 2006 at 1:13 am.
Reputation Points: 1333
Solved Threads: 1404
DaniWeb's Hypocrite
Offline 5,792 posts
since Oct 2004