]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/filedlg.h
wxID_PREFERENCES added for the preferences menu item
[wxWidgets.git] / include / wx / msw / filedlg.h
CommitLineData
2bda0e17 1/////////////////////////////////////////////////////////////////////////////
2b5f62a0 2// Name: wx/msw/filedlg.h
2bda0e17
KB
3// Purpose: wxFileDialog class
4// Author: Julian Smart
5// Modified by:
6// Created: 01/02/97
7// RCS-ID: $Id$
bbcdf8bc 8// Copyright: (c) Julian Smart
ba681060 9// Licence: wxWindows licence
2bda0e17
KB
10/////////////////////////////////////////////////////////////////////////////
11
bbcdf8bc
JS
12#ifndef _WX_FILEDLG_H_
13#define _WX_FILEDLG_H_
2bda0e17 14
12028905 15#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
c61f4f6d 16 #pragma interface "filedlg.h"
2bda0e17
KB
17#endif
18
f74172ab
VZ
19//-------------------------------------------------------------------------
20// wxFileDialog
21//-------------------------------------------------------------------------
2bda0e17 22
f74172ab 23class WXDLLEXPORT wxFileDialog: public wxFileDialogBase
2bda0e17 24{
2bda0e17 25public:
2b5f62a0
VZ
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);
2bda0e17 33
f74172ab
VZ
34 virtual void SetPath(const wxString& path);
35 virtual void GetPaths(wxArrayString& paths) const;
c61f4f6d 36
2b5f62a0 37 virtual int ShowModal();
ba681060 38
f74172ab 39private:
c61f4f6d 40 wxArrayString m_fileNames;
c61f4f6d 41
c61f4f6d 42 DECLARE_DYNAMIC_CLASS(wxFileDialog)
22f3361e 43 DECLARE_NO_COPY_CLASS(wxFileDialog)
2bda0e17
KB
44};
45
b600ed13 46#endif // _WX_FILEDLG_H_
c61f4f6d 47