]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/dirdlg.h
Removed WXWIN_COMPATIBILITY_2_2 together with code guarded by 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
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
f3558acc 15class WXDLLEXPORT wxDirDialog : public wxDialog
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
f3558acc 26 void SetMessage(const wxString& message) { m_message = message; }
f94dd12d 27 void SetPath(const wxString& path);
367f7c45 28 void SetStyle(long style) { SetWindowStyle(style); }
2bda0e17 29
f3558acc
VZ
30 wxString GetMessage() const { return m_message; }
31 wxString GetPath() const { return m_path; }
367f7c45 32 long GetStyle() const { return GetWindowStyle(); }
2bda0e17 33
f3558acc 34 virtual int ShowModal();
2bda0e17
KB
35
36protected:
37 wxString m_message;
2bda0e17 38 wxString m_path;
f3558acc
VZ
39
40private:
fc7a2a60 41 DECLARE_DYNAMIC_CLASS_NO_COPY(wxDirDialog)
2bda0e17
KB
42};
43
44#endif
bbcdf8bc 45 // _WX_DIRDLG_H_