]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/dirdlg.h
Fixed typo in my last commit (it did break socket detection code :-( ).
[wxWidgets.git] / include / wx / dirdlg.h
... / ...
CommitLineData
1#ifndef _WX_DIRDLG_H_BASE_
2#define _WX_DIRDLG_H_BASE_
3
4#if wxUSE_DIRDLG
5
6// ----------------------------------------------------------------------------
7// constants
8// ----------------------------------------------------------------------------
9
10WXDLLEXPORT_DATA(extern const wxChar*) wxDirDialogNameStr;
11WXDLLEXPORT_DATA(extern const wxChar*) wxDirDialogDefaultFolderStr;
12WXDLLEXPORT_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(__WXX11__)
25 #include "wx/generic/dirdlgg.h"
26#elif defined(__WXMGL__)
27 #include "wx/generic/dirdlgg.h"
28#elif defined(__WXMAC__)
29 #include "wx/mac/dirdlg.h"
30#elif defined(__WXPM__)
31 #include "wx/generic/dirdlgg.h"
32#endif
33
34// ----------------------------------------------------------------------------
35// common ::wxDirSelector() function
36// ----------------------------------------------------------------------------
37
38WXDLLEXPORT_DATA(extern const wxChar*) wxDirSelectorPromptStr;
39
40WXDLLEXPORT wxString
41wxDirSelector(const wxString& message = wxDirSelectorPromptStr,
42 const wxString& defaultPath = wxEmptyString,
43 long style = 0,
44 const wxPoint& pos = wxDefaultPosition,
45 wxWindow *parent = NULL);
46
47#endif // wxUSE_DIRDLG
48
49#endif
50 // _WX_DIRDLG_H_BASE_