1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/osx/dirdlg.h
3 // Purpose: wxDirDialog class
4 // Author: Stefan Csomor
8 // Copyright: (c) Stefan Csomor
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
16 DECLARE_WXCOCOA_OBJC_CLASS(NSOpenPanel
);
19 class WXDLLIMPEXP_CORE wxDirDialog
: public wxDirDialogBase
22 wxDirDialog(wxWindow
*parent
,
23 const wxString
& message
= wxDirSelectorPromptStr
,
24 const wxString
& defaultPath
= wxT(""),
25 long style
= wxDD_DEFAULT_STYLE
,
26 const wxPoint
& pos
= wxDefaultPosition
,
27 const wxSize
& size
= wxDefaultSize
,
28 const wxString
& name
= wxDirDialogNameStr
);
34 virtual int ShowModal();
37 virtual void ShowWindowModal();
38 virtual void ModalFinishedCallback(void* panel
, int returnCode
);
43 // Create and initialize NSOpenPanel that we use in both ShowModal() and
45 WX_NSOpenPanel
OSXCreatePanel() const;
47 WX_NSObject m_sheetDelegate
;
50 DECLARE_DYNAMIC_CLASS(wxDirDialog
)
53 #endif // _WX_DIRDLG_H_