]>
Commit | Line | Data |
---|---|---|
6762286d | 1 | ///////////////////////////////////////////////////////////////////////////// |
80fdcdb9 | 2 | // Name: wx/osx/dirdlg.h |
6762286d SC |
3 | // Purpose: wxDirDialog class |
4 | // Author: Stefan Csomor | |
5 | // Modified by: | |
6 | // Created: 1998-01-01 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) Stefan Csomor | |
9 | // Licence: wxWindows licence | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #ifndef _WX_DIRDLG_H_ | |
13 | #define _WX_DIRDLG_H_ | |
14 | ||
15 | class WXDLLIMPEXP_CORE wxDirDialog : public wxDirDialogBase | |
16 | { | |
17 | public: | |
18 | wxDirDialog(wxWindow *parent, | |
19 | const wxString& message = wxDirSelectorPromptStr, | |
9a83f860 | 20 | const wxString& defaultPath = wxT(""), |
6762286d SC |
21 | long style = wxDD_DEFAULT_STYLE, |
22 | const wxPoint& pos = wxDefaultPosition, | |
23 | const wxSize& size = wxDefaultSize, | |
24 | const wxString& name = wxDirDialogNameStr); | |
25 | ||
681bf55c SC |
26 | #if wxOSX_USE_COCOA |
27 | ~wxDirDialog(); | |
28 | #endif | |
29 | ||
6762286d | 30 | virtual int ShowModal(); |
ce00f59b | 31 | |
bfa92264 KO |
32 | #if wxOSX_USE_COCOA |
33 | virtual void ShowWindowModal(); | |
34 | virtual void ModalFinishedCallback(void* panel, int returnCode); | |
ce00f59b | 35 | #endif |
6762286d SC |
36 | |
37 | protected: | |
6762286d SC |
38 | |
39 | DECLARE_DYNAMIC_CLASS(wxDirDialog) | |
681bf55c SC |
40 | |
41 | #if wxOSX_USE_COCOA | |
42 | WX_NSObject m_sheetDelegate; | |
43 | #endif | |
6762286d SC |
44 | }; |
45 | ||
5c6eb3a8 | 46 | #endif |
6762286d | 47 | // _WX_DIRDLG_H_ |