1 #ifndef _WX_FILEDLG_H_BASE_
2 #define _WX_FILEDLG_H_BASE_
5 #include "wx/msw/filedlg.h"
6 #elif defined(__WXMOTIF__)
7 #include "wx/motif/filedlg.h"
8 #elif defined(__WXGTK__)
9 #include "wx/gtk/filedlg.h"
10 #elif defined(__WXQT__)
11 #include "wx/qt/filedlg.h"
12 #elif defined(__WXMAC__)
13 #include "wx/mac/filedlg.h"
14 #elif defined(__WXSTUBS__)
15 #include "wx/stubs/filedlg.h"
18 // File selector - backward compatibility
20 wxFileSelector(const char *message
= wxFileSelectorPromptStr
,
21 const char *default_path
= NULL
,
22 const char *default_filename
= NULL
,
23 const char *default_extension
= NULL
,
24 const char *wildcard
= wxFileSelectorDefaultWildcardStr
,
26 wxWindow
*parent
= NULL
,
27 int x
= -1, int y
= -1);
29 // An extended version of wxFileSelector
31 wxFileSelectorEx(const char *message
= wxFileSelectorPromptStr
,
32 const char *default_path
= NULL
,
33 const char *default_filename
= NULL
,
34 int *indexDefaultExtension
= NULL
,
35 const char *wildcard
= wxFileSelectorDefaultWildcardStr
,
37 wxWindow
*parent
= NULL
,
38 int x
= -1, int y
= -1);
40 // Ask for filename to load
42 wxLoadFileSelector(const char *what
,
43 const char *extension
,
44 const char *default_name
= (const char *)NULL
,
45 wxWindow
*parent
= (wxWindow
*) NULL
);
47 // Ask for filename to save
49 wxSaveFileSelector(const char *what
,
50 const char *extension
,
51 const char *default_name
= (const char *) NULL
,
52 wxWindow
*parent
= (wxWindow
*) NULL
);
55 // _WX_FILEDLG_H_BASE_