]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/dirdlg.h
wxEventType alterations.
[wxWidgets.git] / include / wx / msw / dirdlg.h
CommitLineData
2bda0e17
KB
1/////////////////////////////////////////////////////////////////////////////
2// Name: dirdlg.h
3// Purpose: wxDirDialog class
4// Author: Julian Smart
5// Modified by:
6// Created: 01/02/97
7// RCS-ID: $Id$
8// Copyright: (c) Julian Smart and Markus Holzem
9// Licence: wxWindows license
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef __DIRDLGH__
13#define __DIRDLGH__
14
15#ifdef __GNUG__
16#pragma interface "dirdlg.h"
17#endif
18
19#include "wx/dialog.h"
20
21class WXDLLEXPORT wxDirDialog: public wxDialog
22{
23DECLARE_DYNAMIC_CLASS(wxDirDialog)
24public:
25 wxDirDialog(wxWindow *parent, const wxString& message = wxFileSelectorPromptStr,
26 const wxString& defaultPath = "",
27 long style = 0, const wxPoint& pos = wxDefaultPosition);
28
29 inline void SetMessage(const wxString& message) { m_message = message; }
30 inline void SetPath(const wxString& path) { m_path = path; }
31 inline void SetStyle(long style) { m_dialogStyle = style; }
32
33 inline wxString GetMessage(void) const { return m_message; }
34 inline wxString GetPath(void) const { return m_path; }
35 inline long GetStyle(void) const { return m_dialogStyle; }
36
37 int ShowModal(void);
38
39protected:
40 wxString m_message;
41 long m_dialogStyle;
42 wxWindow * m_parent;
43 wxString m_path;
44};
45
46#endif
47 // __DIRDLGH__