--
Fabio
www.fabiospadaro.com
Instead of *.* just use *
i.e) "All Files (*)|*"
*.* means anything.anything
* mean anything
Cody
Strange - in my application, I'm using "*.*" as my any filter, and I
renamed a file to a blank extension and it still showed; Windows XP SP3,
python 2.5 wx 2.8.10.1
> Strange - in my application, I'm using "*.*" as my any filter, and I
> renamed a file to a blank extension and it still showed; Windows XP SP3,
> python 2.5 wx 2.8.10.1
Because of the the way that the legacy FAT file system works (back when
there was only 8.3 file names) a "*.*" on Windows is essentially the
same as "*" on other systems. IOW the "." does not have to actually
exist in the name. This is because in the early days of CP/M and DOS
files had both a name and an extension, not just a name that may or may
not have a dot in it followed by a few more characters.
So to be perfectly compliant with platform standards, you should
probably check the platform and use "*.*" on Windows and "*" on the
other platforms when you want to specify "any" file.
--
Robin Dunn
Software Craftsman
http://wxPython.org