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 #if defined(__GNUG__) && !defined(__APPLE__)
16 #pragma interface "filedlg.h"
19 //-------------------------------------------------------------------------
21 //-------------------------------------------------------------------------
23 class WXDLLEXPORT wxFileDialog
: public wxFileDialogBase
25 DECLARE_DYNAMIC_CLASS(wxFileDialog
)
27 wxArrayString m_fileNames
;
28 wxArrayString m_paths
;
31 wxFileDialog(wxWindow
*parent
,
32 const wxString
& message
= wxFileSelectorPromptStr
,
33 const wxString
& defaultDir
= wxEmptyString
,
34 const wxString
& defaultFile
= wxEmptyString
,
35 const wxString
& wildCard
= wxFileSelectorDefaultWildcardStr
,
37 const wxPoint
& pos
= wxDefaultPosition
);
39 virtual void GetPaths(wxArrayString
& paths
) const { paths
= m_paths
; }
41 virtual int ShowModal();
43 // not supported for file dialog, RR
44 virtual void DoSetSize(int WXUNUSED(x
), int WXUNUSED(y
),
45 int WXUNUSED(width
), int WXUNUSED(height
),
46 int WXUNUSED(sizeFlags
) = wxSIZE_AUTO
) {}
49 #endif // _WX_FILEDLG_H_