]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/dirdlg.h
fix bcc bug
[wxWidgets.git] / include / wx / msw / dirdlg.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/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
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_DIRDLG_H_
13 #define _WX_DIRDLG_H_
14
15 #ifdef __GNUG__
16 #pragma interface "dirdlg.h"
17 #endif
18
19 class WXDLLEXPORT wxDirDialog : public wxDialog
20 {
21 public:
22 wxDirDialog(wxWindow *parent,
23 const wxString& message = wxDirSelectorPromptStr,
24 const wxString& defaultPath = wxEmptyString,
25 long style = 0,
26 const wxPoint& pos = wxDefaultPosition,
27 const wxSize& size = wxDefaultSize,
28 const wxString& name = wxDirDialogNameStr);
29
30 void SetMessage(const wxString& message) { m_message = message; }
31 void SetPath(const wxString& path);
32 void SetStyle(long style) { m_dialogStyle = style; }
33
34 wxString GetMessage() const { return m_message; }
35 wxString GetPath() const { return m_path; }
36 long GetStyle() const { return m_dialogStyle; }
37
38 virtual int ShowModal();
39
40 protected:
41 wxString m_message;
42 long m_dialogStyle;
43 wxString m_path;
44
45 private:
46 DECLARE_DYNAMIC_CLASS(wxDirDialog)
47 };
48
49 #endif
50 // _WX_DIRDLG_H_