1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/filedlg.h
3 // Purpose: wxFileDialog class
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_FILEDLG_H_
13 #define _WX_FILEDLG_H_
15 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
16 #pragma interface "filedlg.h"
19 //-------------------------------------------------------------------------
21 //-------------------------------------------------------------------------
23 class WXDLLEXPORT wxFileDialog
: public wxFileDialogBase
26 wxFileDialog(wxWindow
*parent
,
27 const wxString
& message
= wxFileSelectorPromptStr
,
28 const wxString
& defaultDir
= wxEmptyString
,
29 const wxString
& defaultFile
= wxEmptyString
,
30 const wxString
& wildCard
= wxFileSelectorDefaultWildcardStr
,
32 const wxPoint
& pos
= wxDefaultPosition
);
34 virtual void SetPath(const wxString
& path
);
35 virtual void GetPaths(wxArrayString
& paths
) const;
36 virtual void GetFilenames(wxArrayString
& files
) const;
38 virtual int ShowModal();
42 #ifndef __SMARTPHONE__
43 virtual void DoMoveWindow(int x
, int y
, int width
, int height
);
44 virtual void DoGetSize( int *width
, int *height
) const;
45 virtual void DoGetPosition( int *x
, int *y
) const;
46 #endif // __SMARTPHONE__
49 wxArrayString m_fileNames
;
52 DECLARE_DYNAMIC_CLASS(wxFileDialog
)
53 DECLARE_NO_COPY_CLASS(wxFileDialog
)
56 #endif // _WX_FILEDLG_H_