]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/filedlg.h
1. moved InheritAttributes() from wxControl to wxWindow
[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;
89654c9a 36 virtual void GetFilenames(wxArrayString& files) const;
c61f4f6d 37
2b5f62a0 38 virtual int ShowModal();
ba681060 39
f74172ab 40private:
c61f4f6d 41 wxArrayString m_fileNames;
c61f4f6d 42
c61f4f6d 43 DECLARE_DYNAMIC_CLASS(wxFileDialog)
22f3361e 44 DECLARE_NO_COPY_CLASS(wxFileDialog)
2bda0e17
KB
45};
46
b600ed13 47#endif // _WX_FILEDLG_H_
c61f4f6d 48