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