]> git.saurik.com Git - wxWidgets.git/commitdiff
Add documentation of wxFileSelectorEx() and wx{Load,Save}FileSelector().
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 4 Mar 2012 00:29:11 +0000 (00:29 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 4 Mar 2012 00:29:11 +0000 (00:29 +0000)
Document all wxFileDialog-related functions and not just wxFileSelector().

See #14051.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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);
+
 //@}