]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/filedlg.h
Make the CreateTool factories be public so they can be used from application code
[wxWidgets.git] / interface / wx / filedlg.h
index 5ba0edbbfc121b46ff19ae6973d8e383152bd929..83648a7fa659a3376fec05d51e9a37a95aeaa295 100644 (file)
@@ -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);
+
 //@}