]>
Commit | Line | Data |
---|---|---|
1 | ///////////////////////////////////////////////////////////////////////////// | |
2 | // Name: filedlg.h | |
3 | // Purpose: wxFileDialog class | |
4 | // Author: David Webster | |
5 | // Modified by: | |
6 | // Created: 10/05/99 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) David Webster | |
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 | wxFileDialog( wxWindow* pParent | |
24 | ,const wxString& rsMessage = wxFileSelectorPromptStr | |
25 | ,const wxString& rsDefaultDir = wxEmptyString | |
26 | ,const wxString& rsDefaultFile = wxEmptyString | |
27 | ,const wxString& rsWildCard = wxFileSelectorDefaultWildcardStr | |
28 | ,long lStyle = wxFD_DEFAULT_STYLE | |
29 | ,const wxPoint& rPos = wxDefaultPosition, | |
30 | const wxSize& sz = wxDefaultSize, | |
31 | const wxString& name = wxFileDialogNameStr | |
32 | ); | |
33 | ||
34 | virtual void GetPaths(wxArrayString& rasPath) const; | |
35 | ||
36 | int ShowModal(); | |
37 | ||
38 | protected: | |
39 | wxArrayString m_fileNames; | |
40 | }; // end of CLASS wxFileDialog | |
41 | ||
42 | #endif // _WX_FILEDLG_H_ |