X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b59366faa1b3820dfc4f4ab130000f4e471e405..4e621d24713f971d1a2d440f79ccc4593aede4b6:/interface/wx/filedlg.h?ds=inline 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); + //@}