| 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 = 0 |
| 29 | ,const wxPoint& rPos = wxDefaultPosition |
| 30 | ); |
| 31 | |
| 32 | virtual void GetPaths(wxArrayString& rasPath) const; |
| 33 | |
| 34 | int ShowModal(); |
| 35 | |
| 36 | protected: |
| 37 | wxArrayString m_fileNames; |
| 38 | }; // end of CLASS wxFileDialog |
| 39 | |
| 40 | #endif // _WX_FILEDLG_H_ |