1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/dirdlg.h
3 // Purpose: wxDirDialog class
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
15 class WXDLLIMPEXP_CORE wxDirDialog
: public wxDirDialogBase
18 wxDirDialog(wxWindow
*parent
,
19 const wxString
& message
= wxDirSelectorPromptStr
,
20 const wxString
& defaultPath
= wxEmptyString
,
21 long style
= wxDD_DEFAULT_STYLE
,
22 const wxPoint
& pos
= wxDefaultPosition
,
23 const wxSize
& size
= wxDefaultSize
,
24 const wxString
& name
= wxDirDialogNameStr
);
26 void SetPath(const wxString
& path
);
28 virtual int ShowModal();
31 // The real implementations of ShowModal(), used for Windows versions
32 // before and since Vista.
33 int ShowSHBrowseForFolder(WXHWND owner
);
34 int ShowIFileDialog(WXHWND owner
);
36 DECLARE_DYNAMIC_CLASS_NO_COPY(wxDirDialog
)