X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b59366faa1b3820dfc4f4ab130000f4e471e405..7344108e8a129a3f9b4df5ab0f98a1713db03b89:/interface/wx/filedlg.h diff --git a/interface/wx/filedlg.h b/interface/wx/filedlg.h index 5ba0edbbfc..83648a7fa6 100644 --- a/interface/wx/filedlg.h +++ b/interface/wx/filedlg.h @@ -373,5 +373,34 @@ wxString wxFileSelector(const wxString& message, int x = wxDefaultCoord, int y = wxDefaultCoord); +/** + An extended version of wxFileSelector +*/ +wxString wxFileSelectorEx(const wxString& message = wxFileSelectorPromptStr, + const wxString& default_path = wxEmptyString, + const wxString& default_filename = wxEmptyString, + int *indexDefaultExtension = NULL, + const wxString& wildcard = wxFileSelectorDefaultWildcardStr, + int flags = 0, + wxWindow *parent = NULL, + int x = wxDefaultCoord, + int y = wxDefaultCoord); + +/** + Ask for filename to load +*/ +wxString wxLoadFileSelector(const wxString& what, + const wxString& extension, + const wxString& default_name = wxEmptyString, + wxWindow *parent = NULL); + +/** + Ask for filename to save +*/ +wxString wxSaveFileSelector(const wxString& what, + const wxString& extension, + const wxString& default_name = wxEmptyString, + wxWindow *parent = NULL); + //@}