]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/dirdlg.h
synchronize GTK2 minimum version in docs
[wxWidgets.git] / include / wx / msw / dirdlg.h
CommitLineData
2bda0e17 1/////////////////////////////////////////////////////////////////////////////
f3558acc 2// Name: wx/msw/dirdlg.h
2bda0e17
KB
3// Purpose: wxDirDialog class
4// Author: Julian Smart
5// Modified by:
6// Created: 01/02/97
7// RCS-ID: $Id$
bbcdf8bc 8// Copyright: (c) Julian Smart
d71cc120 9// Licence: wxWindows licence
2bda0e17
KB
10/////////////////////////////////////////////////////////////////////////////
11
bbcdf8bc
JS
12#ifndef _WX_DIRDLG_H_
13#define _WX_DIRDLG_H_
2bda0e17 14
53a2db12 15class WXDLLIMPEXP_CORE wxDirDialog : public wxDirDialogBase
2bda0e17 16{
2bda0e17 17public:
f3558acc 18 wxDirDialog(wxWindow *parent,
e78d4a23 19 const wxString& message = wxDirSelectorPromptStr,
f3558acc 20 const wxString& defaultPath = wxEmptyString,
0f0b19d6 21 long style = wxDD_DEFAULT_STYLE,
e78d4a23
VZ
22 const wxPoint& pos = wxDefaultPosition,
23 const wxSize& size = wxDefaultSize,
24 const wxString& name = wxDirDialogNameStr);
2bda0e17 25
f94dd12d 26 void SetPath(const wxString& path);
2bda0e17 27
f3558acc 28 virtual int ShowModal();
2bda0e17 29
f3558acc 30private:
580ffdf4
VZ
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);
35
fc7a2a60 36 DECLARE_DYNAMIC_CLASS_NO_COPY(wxDirDialog)
2bda0e17
KB
37};
38
39#endif
bbcdf8bc 40 // _WX_DIRDLG_H_