1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/cocoa/dirdlg.h
3 // Purpose: wxDirDialog class
5 // Modified by: Hiroyuki Nakamura(maloninc)
7 // Copyright: (c) Ryan Norton
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_COCOA_DIRDLG_H_
12 #define _WX_COCOA_DIRDLG_H_
14 DECLARE_WXCOCOA_OBJC_CLASS(NSSavePanel
);
16 #define wxDirDialog wxCocoaDirDialog
17 //-------------------------------------------------------------------------
19 //-------------------------------------------------------------------------
21 class WXDLLIMPEXP_CORE wxDirDialog
: public wxDirDialogBase
23 DECLARE_DYNAMIC_CLASS(wxDirDialog
)
24 wxDECLARE_NO_COPY_CLASS(wxDirDialog
);
26 wxDirDialog(wxWindow
*parent
,
27 const wxString
& message
= wxDirSelectorPromptStr
,
28 const wxString
& defaultPath
= wxT(""),
29 long style
= wxDD_DEFAULT_STYLE
,
30 const wxPoint
& pos
= wxDefaultPosition
,
31 const wxSize
& size
= wxDefaultSize
,
32 const wxString
& name
= wxDirDialogNameStr
);
33 virtual ~wxDirDialog();
35 virtual int ShowModal();
37 inline WX_NSSavePanel
GetNSSavePanel()
38 { return (WX_NSSavePanel
)m_cocoaNSWindow
; }
46 wxArrayString m_fileNames
;
49 #endif // _WX_DIRDLG_H_