1998-08-15 00:23:28 +00:00
|
|
|
#ifndef _WX_DIRDLG_H_BASE_
|
|
|
|
#define _WX_DIRDLG_H_BASE_
|
1998-05-20 14:01:55 +00:00
|
|
|
|
2001-06-26 20:59:19 +00:00
|
|
|
#if wxUSE_DIRDLG
|
|
|
|
|
1999-09-05 15:14:50 +00:00
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// constants
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
WXDLLEXPORT_DATA(extern const wxChar*) wxDirDialogNameStr;
|
|
|
|
WXDLLEXPORT_DATA(extern const wxChar*) wxDirDialogDefaultFolderStr;
|
|
|
|
WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString;
|
|
|
|
|
1998-07-10 14:15:17 +00:00
|
|
|
#if defined(__WXMSW__)
|
2001-10-30 16:58:42 +00:00
|
|
|
#if defined(__WIN16__) || (defined(__GNUWIN32__) && !wxUSE_NORLANDER_HEADERS) || defined(__SALFORDC__)
|
|
|
|
#include "wx/generic/dirdlgg.h"
|
|
|
|
#else
|
|
|
|
#include "wx/msw/dirdlg.h"
|
|
|
|
#endif
|
1998-07-10 14:15:17 +00:00
|
|
|
#elif defined(__WXMOTIF__)
|
2001-10-30 16:58:42 +00:00
|
|
|
#include "wx/generic/dirdlgg.h"
|
1998-07-10 14:15:17 +00:00
|
|
|
#elif defined(__WXGTK__)
|
2001-10-30 16:58:42 +00:00
|
|
|
#include "wx/generic/dirdlgg.h"
|
1998-08-15 00:23:28 +00:00
|
|
|
#elif defined(__WXMAC__)
|
2001-10-30 16:58:42 +00:00
|
|
|
#include "wx/mac/dirdlg.h"
|
1999-07-28 03:38:12 +00:00
|
|
|
#elif defined(__WXPM__)
|
2001-10-30 16:58:42 +00:00
|
|
|
#include "wx/os2/dirdlg.h"
|
1998-08-15 00:23:28 +00:00
|
|
|
#elif defined(__WXSTUBS__)
|
2001-10-30 16:58:42 +00:00
|
|
|
#include "wx/stubs/dirdlg.h"
|
1998-05-20 14:01:55 +00:00
|
|
|
#endif
|
|
|
|
|
2001-10-30 16:58:42 +00:00
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// common ::wxDirSelector() function
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
WXDLLEXPORT_DATA(extern const wxChar*) wxDirSelectorPromptStr;
|
|
|
|
|
|
|
|
WXDLLEXPORT wxString
|
|
|
|
wxDirSelector(const wxString& message = wxDirSelectorPromptStr,
|
|
|
|
const wxString& defaultPath = wxEmptyString,
|
|
|
|
long style = 0,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
wxWindow *parent = NULL);
|
|
|
|
|
2001-06-26 20:59:19 +00:00
|
|
|
#endif // wxUSE_DIRDLG
|
|
|
|
|
1998-05-20 14:01:55 +00:00
|
|
|
#endif
|
1998-08-15 00:23:28 +00:00
|
|
|
// _WX_DIRDLG_H_BASE_
|