]> git.saurik.com Git - wxWidgets.git/blame - include/wx/cocoa/dirdlg.h
Move msw configuration checking to chkconf.h
[wxWidgets.git] / include / wx / cocoa / dirdlg.h
CommitLineData
937f314d
VZ
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/cocoa/dirdlg.h
3// Purpose: wxDirDialog class
4// Author: Ryan Norton
5// Modified by: Hiroyuki Nakamura(maloninc)
6// Created: 2006-01-10
7// RCS-ID: $Id$
8// Copyright: (c) Ryan Norton
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_COCOA_DIRDLG_H_
13#define _WX_COCOA_DIRDLG_H_
14
15DECLARE_WXCOCOA_OBJC_CLASS(NSSavePanel);
16
17#define wxDirDialog wxCocoaDirDialog
18//-------------------------------------------------------------------------
19// wxDirDialog
20//-------------------------------------------------------------------------
21
53a2db12 22class WXDLLIMPEXP_CORE wxDirDialog: public wxDirDialogBase
937f314d
VZ
23{
24 DECLARE_DYNAMIC_CLASS(wxDirDialog)
c0c133e1 25 wxDECLARE_NO_COPY_CLASS(wxDirDialog);
937f314d
VZ
26public:
27 wxDirDialog(wxWindow *parent,
28 const wxString& message = wxDirSelectorPromptStr,
9a83f860 29 const wxString& defaultPath = wxT(""),
937f314d
VZ
30 long style = wxDD_DEFAULT_STYLE,
31 const wxPoint& pos = wxDefaultPosition,
32 const wxSize& size = wxDefaultSize,
33 const wxString& name = wxDirDialogNameStr);
d3c7fc99 34 virtual ~wxDirDialog();
937f314d 35
937f314d 36 virtual int ShowModal();
03647350 37
937f314d
VZ
38 inline WX_NSSavePanel GetNSSavePanel()
39 { return (WX_NSSavePanel)m_cocoaNSWindow; }
40
41protected:
937f314d
VZ
42 wxString m_dir;
43 wxWindow * m_parent;
937f314d
VZ
44 wxString m_fileName;
45
46private:
47 wxArrayString m_fileNames;
48};
49
50#endif // _WX_DIRDLG_H_
51