]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/dirdlg.h
Removed a method using wxColour from non-GUI benchmark code.
[wxWidgets.git] / include / wx / msw / dirdlg.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/dirdlg.h
3 // Purpose: wxDirDialog class
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 01/02/97
7 // Copyright: (c) Julian Smart
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
10
11 #ifndef _WX_DIRDLG_H_
12 #define _WX_DIRDLG_H_
13
14 class WXDLLIMPEXP_CORE wxDirDialog : public wxDirDialogBase
15 {
16 public:
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);
24
25 void SetPath(const wxString& path);
26
27 virtual int ShowModal();
28
29 private:
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);
34
35 DECLARE_DYNAMIC_CLASS_NO_COPY(wxDirDialog)
36 };
37
38 #endif
39 // _WX_DIRDLG_H_