extracted common code into a single wxfileDialogBase class (patch 758901)
[wxWidgets.git] / include / wx / msw / filedlg.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/filedlg.h
3 // Purpose: wxFileDialog class
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 01/02/97
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 #ifdef __GNUG__
16 #pragma interface "filedlg.h"
17 #endif
18
19 //-------------------------------------------------------------------------
20 // wxFileDialog
21 //-------------------------------------------------------------------------
22
23 class WXDLLEXPORT wxFileDialog: public wxFileDialogBase
24 {
25 public:
26 wxFileDialog(wxWindow *parent,
27 const wxString& message = wxFileSelectorPromptStr,
28 const wxString& defaultDir = wxEmptyString,
29 const wxString& defaultFile = wxEmptyString,
30 const wxString& wildCard = wxFileSelectorDefaultWildcardStr,
31 long style = 0,
32 const wxPoint& pos = wxDefaultPosition);
33
34 virtual void SetPath(const wxString& path);
35 virtual void GetPaths(wxArrayString& paths) const;
36
37 virtual int ShowModal();
38
39 private:
40 wxArrayString m_fileNames;
41
42 DECLARE_DYNAMIC_CLASS(wxFileDialog)
43 DECLARE_NO_COPY_CLASS(wxFileDialog)
44 };
45
46 #endif // _WX_FILEDLG_H_
47