1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/cocoa/dirdlg.h
3 // Purpose: wxDirDialog class
5 // Modified by: Hiroyuki Nakamura(maloninc)
8 // Copyright: (c) Ryan Norton
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_COCOA_DIRDLG_H_
13 #define _WX_COCOA_DIRDLG_H_
15 DECLARE_WXCOCOA_OBJC_CLASS(NSSavePanel
);
17 #define wxDirDialog wxCocoaDirDialog
18 //-------------------------------------------------------------------------
20 //-------------------------------------------------------------------------
22 class WXDLLEXPORT wxDirDialog
: public wxDialog
24 DECLARE_DYNAMIC_CLASS(wxDirDialog
)
25 DECLARE_NO_COPY_CLASS(wxDirDialog
)
27 wxDirDialog(wxWindow
*parent
,
28 const wxString
& message
= wxDirSelectorPromptStr
,
29 const wxString
& defaultPath
= _T(""),
30 long style
= wxDD_DEFAULT_STYLE
,
31 const wxPoint
& pos
= wxDefaultPosition
,
32 const wxSize
& size
= wxDefaultSize
,
33 const wxString
& name
= wxDirDialogNameStr
);
36 wxString
GetMessage() const { return m_message
; }
37 wxString
GetPath() const { return m_path
; }
38 long GetStyle() const { return m_dialogStyle
; }
40 virtual int ShowModal();
42 inline WX_NSSavePanel
GetNSSavePanel()
43 { return (WX_NSSavePanel
)m_cocoaNSWindow
; }
54 wxArrayString m_fileNames
;
57 #endif // _WX_DIRDLG_H_