X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/83527a0ab20a284bf97016fac98a4ccbd7496456..419b20032b432c64c03c0556b660fa40df499c89:/interface/wx/filedlg.h diff --git a/interface/wx/filedlg.h b/interface/wx/filedlg.h index 6e28ee3b0b..63b6bbedd8 100644 --- a/interface/wx/filedlg.h +++ b/interface/wx/filedlg.h @@ -6,6 +6,19 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// +enum +{ + wxFD_OPEN = 0x0001, + wxFD_SAVE = 0x0002, + wxFD_OVERWRITE_PROMPT = 0x0004, + wxFD_FILE_MUST_EXIST = 0x0010, + wxFD_MULTIPLE = 0x0020, + wxFD_CHANGE_DIR = 0x0080, + wxFD_PREVIEW = 0x0100 +}; + +#define wxFD_DEFAULT_STYLE wxFD_OPEN + /** @class wxFileDialog @@ -83,7 +96,7 @@ "BMP and GIF files (*.bmp;*.gif)|*.bmp;*.gif|PNG files (*.png)|*.png" @endcode It must be noted that wildcard support in the native Motif file dialog is quite - limited: only one alternative is supported, and it is displayed without the + limited: only one file type is supported, and it is displayed without the descriptive test; "BMP files (*.bmp)|*.bmp" is displayed as "*.bmp", and both "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif" and "Image files|*.bmp;*.gif" are errors.