]>
Commit | Line | Data |
---|---|---|
0e320a79 DW |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: dirdlg.h | |
3 | // Purpose: wxDirDialog class | |
fb46a9a6 | 4 | // Author: David Webster |
0e320a79 | 5 | // Modified by: |
fb46a9a6 | 6 | // Created: 10/14/99 |
0e320a79 | 7 | // RCS-ID: $Id$ |
fb46a9a6 | 8 | // Copyright: (c) David Webster |
65571936 | 9 | // Licence: wxWindows licence |
0e320a79 DW |
10 | ///////////////////////////////////////////////////////////////////////////// |
11 | ||
12 | #ifndef _WX_DIRDLG_H_ | |
13 | #define _WX_DIRDLG_H_ | |
14 | ||
0e320a79 DW |
15 | #include "wx/dialog.h" |
16 | ||
63ec432b | 17 | WXDLLEXPORT_DATA(extern const wxChar) wxFileSelectorPromptStr[]; |
0e320a79 | 18 | |
b50747ea | 19 | class WXDLLEXPORT wxDirDialog: public wxDirDialogBase |
0e320a79 DW |
20 | { |
21 | DECLARE_DYNAMIC_CLASS(wxDirDialog) | |
22 | public: | |
23 | wxDirDialog(wxWindow *parent, const wxString& message = wxFileSelectorPromptStr, | |
24 | const wxString& defaultPath = "", | |
25 | long style = 0, const wxPoint& pos = wxDefaultPosition); | |
26 | ||
0e320a79 | 27 | inline void SetStyle(long style) { m_dialogStyle = style; } |
0e320a79 DW |
28 | inline long GetStyle() const { return m_dialogStyle; } |
29 | ||
30 | int ShowModal(); | |
31 | ||
32 | protected: | |
0e320a79 DW |
33 | long m_dialogStyle; |
34 | wxWindow * m_parent; | |
0e320a79 DW |
35 | }; |
36 | ||
37 | #endif | |
38 | // _WX_DIRDLG_H_ |