]>
Commit | Line | Data |
---|---|---|
1 | ///////////////////////////////////////////////////////////////////////////// | |
2 | // Name: filedlg.h | |
3 | // Purpose: wxFileDialog class | |
4 | // Author: Julian Smart | |
5 | // Modified by: | |
6 | // Created: 17/09/98 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) Julian Smart | |
9 | // Licence: wxWindows licence | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #ifndef _WX_FILEDLG_H_ | |
13 | #define _WX_FILEDLG_H_ | |
14 | ||
15 | //------------------------------------------------------------------------- | |
16 | // wxFileDialog | |
17 | //------------------------------------------------------------------------- | |
18 | ||
19 | class WXDLLEXPORT wxFileDialog: public wxFileDialogBase | |
20 | { | |
21 | DECLARE_DYNAMIC_CLASS(wxFileDialog) | |
22 | public: | |
23 | ||
24 | // For Motif | |
25 | static wxString m_fileSelectorAnswer; | |
26 | static bool m_fileSelectorReturned; | |
27 | ||
28 | public: | |
29 | wxFileDialog(wxWindow *parent, | |
30 | const wxString& message = wxFileSelectorPromptStr, | |
31 | const wxString& defaultDir = wxEmptyString, | |
32 | const wxString& defaultFile = wxEmptyString, | |
33 | const wxString& wildCard = wxFileSelectorDefaultWildcardStr, | |
34 | long style = 0, | |
35 | const wxPoint& pos = wxDefaultPosition); | |
36 | ||
37 | virtual int ShowModal(); | |
38 | }; | |
39 | ||
40 | #endif // _WX_FILEDLG_H_ |