]>
Commit | Line | Data |
---|---|---|
34138703 JS |
1 | #ifndef _WX_DIRDLG_H_BASE_ |
2 | #define _WX_DIRDLG_H_BASE_ | |
c801d85f | 3 | |
1e6feb95 VZ |
4 | #if wxUSE_DIRDLG |
5 | ||
1044a386 JS |
6 | // ---------------------------------------------------------------------------- |
7 | // constants | |
8 | // ---------------------------------------------------------------------------- | |
9 | ||
10 | WXDLLEXPORT_DATA(extern const wxChar*) wxDirDialogNameStr; | |
11 | WXDLLEXPORT_DATA(extern const wxChar*) wxDirDialogDefaultFolderStr; | |
12 | WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString; | |
13 | ||
2049ba38 | 14 | #if defined(__WXMSW__) |
10eb1f1e VZ |
15 | #if defined(__WIN16__) || (defined(__GNUWIN32__) && !wxUSE_NORLANDER_HEADERS) || defined(__SALFORDC__) |
16 | #include "wx/generic/dirdlgg.h" | |
17 | #else | |
18 | #include "wx/msw/dirdlg.h" | |
19 | #endif | |
2049ba38 | 20 | #elif defined(__WXMOTIF__) |
10eb1f1e | 21 | #include "wx/generic/dirdlgg.h" |
2049ba38 | 22 | #elif defined(__WXGTK__) |
10eb1f1e | 23 | #include "wx/generic/dirdlgg.h" |
4a70a30b VS |
24 | #elif defined(__WXMGL__) |
25 | #include "wx/generic/dirdlgg.h" | |
34138703 | 26 | #elif defined(__WXMAC__) |
10eb1f1e | 27 | #include "wx/mac/dirdlg.h" |
1777b9bb | 28 | #elif defined(__WXPM__) |
10eb1f1e | 29 | #include "wx/os2/dirdlg.h" |
34138703 | 30 | #elif defined(__WXSTUBS__) |
10eb1f1e | 31 | #include "wx/stubs/dirdlg.h" |
c801d85f KB |
32 | #endif |
33 | ||
10eb1f1e VZ |
34 | // ---------------------------------------------------------------------------- |
35 | // common ::wxDirSelector() function | |
36 | // ---------------------------------------------------------------------------- | |
37 | ||
38 | WXDLLEXPORT_DATA(extern const wxChar*) wxDirSelectorPromptStr; | |
39 | ||
40 | WXDLLEXPORT wxString | |
41 | wxDirSelector(const wxString& message = wxDirSelectorPromptStr, | |
42 | const wxString& defaultPath = wxEmptyString, | |
43 | long style = 0, | |
44 | const wxPoint& pos = wxDefaultPosition, | |
45 | wxWindow *parent = NULL); | |
46 | ||
1e6feb95 VZ |
47 | #endif // wxUSE_DIRDLG |
48 | ||
c801d85f | 49 | #endif |
34138703 | 50 | // _WX_DIRDLG_H_BASE_ |