1 #ifndef _WX_DIRDLG_H_BASE_
2 #define _WX_DIRDLG_H_BASE_
6 // ----------------------------------------------------------------------------
8 // ----------------------------------------------------------------------------
10 WXDLLEXPORT_DATA(extern const wxChar
*) wxDirDialogNameStr
;
11 WXDLLEXPORT_DATA(extern const wxChar
*) wxDirDialogDefaultFolderStr
;
12 WXDLLEXPORT_DATA(extern const wxChar
*) wxEmptyString
;
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
19 #include "wx/msw/dirdlg.h"
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"
35 // ----------------------------------------------------------------------------
36 // common ::wxDirSelector() function
37 // ----------------------------------------------------------------------------
39 WXDLLEXPORT_DATA(extern const wxChar
*) wxDirSelectorPromptStr
;
42 wxDirSelector(const wxString
& message
= wxDirSelectorPromptStr
,
43 const wxString
& defaultPath
= wxEmptyString
,
44 long style
= wxDEFAULT_DIALOG_STYLE
| wxRESIZE_BORDER
| wxDD_NEW_DIR_BUTTON
,
45 const wxPoint
& pos
= wxDefaultPosition
,
46 wxWindow
*parent
= NULL
);
48 #endif // wxUSE_DIRDLG