]> git.saurik.com Git - wxWidgets.git/blame - include/wx/dirdlg.h
A few tweaks and cleanups
[wxWidgets.git] / include / wx / dirdlg.h
CommitLineData
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
10WXDLLEXPORT_DATA(extern const wxChar*) wxDirDialogNameStr;
11WXDLLEXPORT_DATA(extern const wxChar*) wxDirDialogDefaultFolderStr;
12WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString;
13
2049ba38 14#if defined(__WXMSW__)
7fc0bd1c 15 #if defined(__WIN16__) || (defined(__GNUWIN32__) && !wxUSE_NORLANDER_HEADERS) || defined(__SALFORDC__) || !wxUSE_OLE
10eb1f1e 16 #include "wx/generic/dirdlgg.h"
ed8a10f8 17 #define wxDirDialog wxGenericDirDialog
10eb1f1e
VZ
18 #else
19 #include "wx/msw/dirdlg.h"
20 #endif
2049ba38 21#elif defined(__WXMOTIF__)
10eb1f1e 22 #include "wx/generic/dirdlgg.h"
2049ba38 23#elif defined(__WXGTK__)
10eb1f1e 24 #include "wx/generic/dirdlgg.h"
83df96d6
JS
25#elif defined(__WXX11__)
26 #include "wx/generic/dirdlgg.h"
4a70a30b
VS
27#elif defined(__WXMGL__)
28 #include "wx/generic/dirdlgg.h"
34138703 29#elif defined(__WXMAC__)
10eb1f1e 30 #include "wx/mac/dirdlg.h"
1777b9bb 31#elif defined(__WXPM__)
957aea45 32 #include "wx/generic/dirdlgg.h"
c801d85f
KB
33#endif
34
10eb1f1e
VZ
35// ----------------------------------------------------------------------------
36// common ::wxDirSelector() function
37// ----------------------------------------------------------------------------
38
39WXDLLEXPORT_DATA(extern const wxChar*) wxDirSelectorPromptStr;
40
41WXDLLEXPORT wxString
42wxDirSelector(const wxString& message = wxDirSelectorPromptStr,
43 const wxString& defaultPath = wxEmptyString,
dabd1377 44 long style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | wxDD_NEW_DIR_BUTTON,
10eb1f1e
VZ
45 const wxPoint& pos = wxDefaultPosition,
46 wxWindow *parent = NULL);
47
1e6feb95
VZ
48#endif // wxUSE_DIRDLG
49
c801d85f 50#endif
34138703 51 // _WX_DIRDLG_H_BASE_