1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxFileDialog class
4 // Author: Stefan Csomor
8 // Copyright: (c) Stefan Csomor
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_FILEDLG_H_
13 #define _WX_FILEDLG_H_
15 //-------------------------------------------------------------------------
17 //-------------------------------------------------------------------------
19 class WXDLLEXPORT wxFileDialog
: public wxFileDialogBase
21 DECLARE_DYNAMIC_CLASS(wxFileDialog
)
23 wxArrayString m_fileNames
;
24 wxArrayString m_paths
;
27 wxFileDialog(wxWindow
*parent
,
28 const wxString
& message
= wxFileSelectorPromptStr
,
29 const wxString
& defaultDir
= wxEmptyString
,
30 const wxString
& defaultFile
= wxEmptyString
,
31 const wxString
& wildCard
= wxFileSelectorDefaultWildcardStr
,
33 const wxPoint
& pos
= wxDefaultPosition
);
35 virtual void GetPaths(wxArrayString
& paths
) const { paths
= m_paths
; }
36 virtual void GetFilenames(wxArrayString
& files
) const { files
= m_fileNames
; }
38 virtual int ShowModal();
41 // not supported for file dialog, RR
42 virtual void DoSetSize(int WXUNUSED(x
), int WXUNUSED(y
),
43 int WXUNUSED(width
), int WXUNUSED(height
),
44 int WXUNUSED(sizeFlags
) = wxSIZE_AUTO
) {}
47 #endif // _WX_FILEDLG_H_