]>
Commit | Line | Data |
---|---|---|
1 | ///////////////////////////////////////////////////////////////////////////// | |
2 | // Name: wx/os2/dirdlg.h | |
3 | // Purpose: wxDirDialog class | |
4 | // Author: David Webster | |
5 | // Modified by: | |
6 | // Created: 10/14/99 | |
7 | // Copyright: (c) David Webster | |
8 | // Licence: wxWindows licence | |
9 | ///////////////////////////////////////////////////////////////////////////// | |
10 | ||
11 | #ifndef _WX_DIRDLG_H_ | |
12 | #define _WX_DIRDLG_H_ | |
13 | ||
14 | #include "wx/dialog.h" | |
15 | ||
16 | WXDLLIMPEXP_DATA_CORE(extern const wxChar) wxFileSelectorPromptStr[]; | |
17 | ||
18 | class WXDLLIMPEXP_CORE wxDirDialog: public wxDirDialogBase | |
19 | { | |
20 | DECLARE_DYNAMIC_CLASS(wxDirDialog) | |
21 | public: | |
22 | wxDirDialog(wxWindow *parent, const wxString& message = wxFileSelectorPromptStr, | |
23 | const wxString& defaultPath = "", | |
24 | long style = 0, const wxPoint& pos = wxDefaultPosition); | |
25 | ||
26 | int ShowModal(); | |
27 | ||
28 | protected: | |
29 | wxWindow * m_parent; | |
30 | }; | |
31 | ||
32 | #endif | |
33 | // _WX_DIRDLG_H_ |