]>
Commit | Line | Data |
---|---|---|
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 JS |
8 | // Copyright: (c) Julian Smart |
9 | // Licence: wxWindows licence | |
2bda0e17 KB |
10 | ///////////////////////////////////////////////////////////////////////////// |
11 | ||
bbcdf8bc JS |
12 | #ifndef _WX_DIRDLG_H_ |
13 | #define _WX_DIRDLG_H_ | |
2bda0e17 KB |
14 | |
15 | #ifdef __GNUG__ | |
16 | #pragma interface "dirdlg.h" | |
17 | #endif | |
18 | ||
f3558acc | 19 | class WXDLLEXPORT wxDirDialog : public wxDialog |
2bda0e17 | 20 | { |
2bda0e17 | 21 | public: |
f3558acc | 22 | wxDirDialog(wxWindow *parent, |
e78d4a23 | 23 | const wxString& message = wxDirSelectorPromptStr, |
f3558acc VZ |
24 | const wxString& defaultPath = wxEmptyString, |
25 | long style = 0, | |
e78d4a23 VZ |
26 | const wxPoint& pos = wxDefaultPosition, |
27 | const wxSize& size = wxDefaultSize, | |
28 | const wxString& name = wxDirDialogNameStr); | |
2bda0e17 | 29 | |
f3558acc | 30 | void SetMessage(const wxString& message) { m_message = message; } |
f94dd12d | 31 | void SetPath(const wxString& path); |
367f7c45 | 32 | void SetStyle(long style) { SetWindowStyle(style); } |
2bda0e17 | 33 | |
f3558acc VZ |
34 | wxString GetMessage() const { return m_message; } |
35 | wxString GetPath() const { return m_path; } | |
367f7c45 | 36 | long GetStyle() const { return GetWindowStyle(); } |
2bda0e17 | 37 | |
f3558acc | 38 | virtual int ShowModal(); |
2bda0e17 KB |
39 | |
40 | protected: | |
41 | wxString m_message; | |
2bda0e17 | 42 | wxString m_path; |
f3558acc VZ |
43 | |
44 | private: | |
45 | DECLARE_DYNAMIC_CLASS(wxDirDialog) | |
2bda0e17 KB |
46 | }; |
47 | ||
48 | #endif | |
bbcdf8bc | 49 | // _WX_DIRDLG_H_ |