]> git.saurik.com Git - wxWidgets.git/blob - include/wx/dirdlg.h
use wxUniv's setup
[wxWidgets.git] / include / wx / dirdlg.h
1 #ifndef _WX_DIRDLG_H_BASE_
2 #define _WX_DIRDLG_H_BASE_
3
4 #if wxUSE_DIRDLG
5
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
14 #if defined(__WXMSW__)
15 #if defined(__WIN16__) || (defined(__GNUWIN32__) && !wxUSE_NORLANDER_HEADERS) || defined(__SALFORDC__) || !wxUSE_OLE
16 #include "wx/generic/dirdlgg.h"
17 #define wxDirDialog wxGenericDirDialog
18 #else
19 #include "wx/msw/dirdlg.h"
20 #endif
21 #elif defined(__WXMOTIF__)
22 #include "wx/generic/dirdlgg.h"
23 #elif defined(__WXGTK__)
24 #include "wx/generic/dirdlgg.h"
25 #elif defined(__WXX11__)
26 #include "wx/generic/dirdlgg.h"
27 #elif defined(__WXMGL__)
28 #include "wx/generic/dirdlgg.h"
29 #elif defined(__WXMAC__)
30 #include "wx/mac/dirdlg.h"
31 #elif defined(__WXPM__)
32 #include "wx/generic/dirdlgg.h"
33 #endif
34
35 // ----------------------------------------------------------------------------
36 // common ::wxDirSelector() function
37 // ----------------------------------------------------------------------------
38
39 WXDLLEXPORT_DATA(extern const wxChar*) wxDirSelectorPromptStr;
40
41 WXDLLEXPORT wxString
42 wxDirSelector(const wxString& message = wxDirSelectorPromptStr,
43 const wxString& defaultPath = wxEmptyString,
44 long style = 0,
45 const wxPoint& pos = wxDefaultPosition,
46 wxWindow *parent = NULL);
47
48 #endif // wxUSE_DIRDLG
49
50 #endif
51 // _WX_DIRDLG_H_BASE_