]> git.saurik.com Git - wxWidgets.git/blob - include/wx/dirdlg.h
Added wxRegion::Offset(x,y)
[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 #else
18 #include "wx/msw/dirdlg.h"
19 #endif
20 #elif defined(__WXMOTIF__)
21 #include "wx/generic/dirdlgg.h"
22 #elif defined(__WXGTK__)
23 #include "wx/generic/dirdlgg.h"
24 #elif defined(__WXMGL__)
25 #include "wx/generic/dirdlgg.h"
26 #elif defined(__WXMAC__)
27 #include "wx/mac/dirdlg.h"
28 #elif defined(__WXPM__)
29 #include "wx/generic/dirdlgg.h"
30 #endif
31
32 // ----------------------------------------------------------------------------
33 // common ::wxDirSelector() function
34 // ----------------------------------------------------------------------------
35
36 WXDLLEXPORT_DATA(extern const wxChar*) wxDirSelectorPromptStr;
37
38 WXDLLEXPORT wxString
39 wxDirSelector(const wxString& message = wxDirSelectorPromptStr,
40 const wxString& defaultPath = wxEmptyString,
41 long style = 0,
42 const wxPoint& pos = wxDefaultPosition,
43 wxWindow *parent = NULL);
44
45 #endif // wxUSE_DIRDLG
46
47 #endif
48 // _WX_DIRDLG_H_BASE_