I noticed that even if you set your wildcard to match *.txt
files only, all wx.FileDialog
does is list all txt files under that directory, still you can input any existent file with a different extension and hit open button without having any problem at all?
There doesn't seem to exist a window style to avoid this from happening, so I guess you have to validate the file extension yourself, right? Interesting, does this count as a bug?