]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mac/classic/dirdlg.h
correct access for virtuals
[wxWidgets.git] / include / wx / mac / classic / dirdlg.h
CommitLineData
52479aef
SC
1/////////////////////////////////////////////////////////////////////////////
2// Name: dirdlg.h
3// Purpose: wxDirDialog class
4// Author: Stefan Csomor
5// Modified by:
6// Created: 1998-01-01
7// RCS-ID: $Id$
8// Copyright: (c) Stefan Csomor
65571936 9// Licence: wxWindows licence
52479aef
SC
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_DIRDLG_H_
13#define _WX_DIRDLG_H_
14
b50747ea 15class WXDLLEXPORT wxDirDialog : public wxDirDialogBase
52479aef
SC
16{
17public:
18 wxDirDialog(wxWindow *parent,
19 const wxString& message = wxDirSelectorPromptStr,
20 const wxString& defaultPath = _T(""),
0f0b19d6 21 long style = wxDD_DEFAULT_STYLE,
52479aef
SC
22 const wxPoint& pos = wxDefaultPosition,
23 const wxSize& size = wxDefaultSize,
24 const wxString& name = wxDirDialogNameStr);
25
52479aef 26 void SetStyle(long style) { m_dialogStyle = style; }
52479aef
SC
27 long GetStyle() const { return m_dialogStyle; }
28
29 virtual int ShowModal();
30
31protected:
52479aef
SC
32 long m_dialogStyle;
33 wxWindow * m_parent;
52479aef
SC
34
35 DECLARE_DYNAMIC_CLASS(wxDirDialog)
36};
37
38#endif
39 // _WX_DIRDLG_H_