]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/dirdlg.h
Don't define __STRICT_ANSI__, we should build both with and without it.
[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
bbcdf8bc 7// Copyright: (c) Julian Smart
d71cc120 8// Licence: wxWindows licence
2bda0e17
KB
9/////////////////////////////////////////////////////////////////////////////
10
bbcdf8bc
JS
11#ifndef _WX_DIRDLG_H_
12#define _WX_DIRDLG_H_
2bda0e17 13
53a2db12 14class WXDLLIMPEXP_CORE wxDirDialog : public wxDirDialogBase
2bda0e17 15{
2bda0e17 16public:
f3558acc 17 wxDirDialog(wxWindow *parent,
e78d4a23 18 const wxString& message = wxDirSelectorPromptStr,
f3558acc 19 const wxString& defaultPath = wxEmptyString,
0f0b19d6 20 long style = wxDD_DEFAULT_STYLE,
e78d4a23
VZ
21 const wxPoint& pos = wxDefaultPosition,
22 const wxSize& size = wxDefaultSize,
23 const wxString& name = wxDirDialogNameStr);
2bda0e17 24
f94dd12d 25 void SetPath(const wxString& path);
2bda0e17 26
f3558acc 27 virtual int ShowModal();
2bda0e17 28
f3558acc 29private:
580ffdf4
VZ
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
fc7a2a60 35 DECLARE_DYNAMIC_CLASS_NO_COPY(wxDirDialog)
2bda0e17
KB
36};
37
38#endif
bbcdf8bc 39 // _WX_DIRDLG_H_