On 18 Jan 2005 13:23:24 GMT, John Field <[EMAIL PROTECTED]> wrote: >Hello, > >Is it possible to exclude certain files in a wx.FileDialog, so that the user >won't see them and can't select them with the mouse in de File open window? > >I was thinking of somehow extending the class FileDialog(Dialog) >in the wx module _windows.py to a subclass, but I'm not sure how to do that >(if feasible). > > >cheers
wx.FileDialog is only a wrapper for the api FileDialog (at least this applies for windows) and therefore it is not possible to derive from it. Really exclude, I think, is not possible. You can put a mask wx.FileDialog(...wildcard = "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif") Otherwise you have to create your own FileDialog. -- Franz Steinhaeusler -- http://mail.python.org/mailman/listinfo/python-list