]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mac/dirdlg.h
removed wxApp::Initialized() (replaced with a dummy version in wxApp itself); wxApp...
[wxWidgets.git] / include / wx / mac / dirdlg.h
CommitLineData
0dbd6262
SC
1/////////////////////////////////////////////////////////////////////////////
2// Name: dirdlg.h
3// Purpose: wxDirDialog class
a31a5f85 4// Author: Stefan Csomor
0dbd6262 5// Modified by:
a31a5f85 6// Created: 1998-01-01
0dbd6262 7// RCS-ID: $Id$
a31a5f85 8// Copyright: (c) Stefan Csomor
d921af51 9// Licence: wxWindows licence
0dbd6262
SC
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_DIRDLG_H_
13#define _WX_DIRDLG_H_
14
12028905 15#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
0dbd6262
SC
16#pragma interface "dirdlg.h"
17#endif
18
e78d4a23 19class WXDLLEXPORT wxDirDialog : public wxDialog
0dbd6262 20{
0dbd6262 21public:
e78d4a23
VZ
22 wxDirDialog(wxWindow *parent,
23 const wxString& message = wxDirSelectorPromptStr,
24 const wxString& defaultPath = _T(""),
25 long style = 0,
26 const wxPoint& pos = wxDefaultPosition,
27 const wxSize& size = wxDefaultSize,
28 const wxString& name = wxDirDialogNameStr);
0dbd6262 29
e78d4a23
VZ
30 void SetMessage(const wxString& message) { m_message = message; }
31 void SetPath(const wxString& path) { m_path = path; }
32 void SetStyle(long style) { m_dialogStyle = style; }
0dbd6262 33
e78d4a23
VZ
34 wxString GetMessage() const { return m_message; }
35 wxString GetPath() const { return m_path; }
36 long GetStyle() const { return m_dialogStyle; }
0dbd6262 37
e78d4a23 38 virtual int ShowModal();
0dbd6262
SC
39
40protected:
41 wxString m_message;
42 long m_dialogStyle;
43 wxWindow * m_parent;
44 wxString m_path;
e78d4a23
VZ
45
46 DECLARE_DYNAMIC_CLASS(wxDirDialog)
0dbd6262
SC
47};
48
49#endif
50 // _WX_DIRDLG_H_