]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/filedlg.h
added wxListAttr::AssignFrom()
[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
65571936 9// Licence: wxWindows licence
2bda0e17
KB
10/////////////////////////////////////////////////////////////////////////////
11
bbcdf8bc
JS
12#ifndef _WX_FILEDLG_H_
13#define _WX_FILEDLG_H_
2bda0e17 14
f74172ab
VZ
15//-------------------------------------------------------------------------
16// wxFileDialog
17//-------------------------------------------------------------------------
2bda0e17 18
f74172ab 19class WXDLLEXPORT wxFileDialog: public wxFileDialogBase
2bda0e17 20{
2bda0e17 21public:
2b5f62a0
VZ
22 wxFileDialog(wxWindow *parent,
23 const wxString& message = wxFileSelectorPromptStr,
24 const wxString& defaultDir = wxEmptyString,
25 const wxString& defaultFile = wxEmptyString,
26 const wxString& wildCard = wxFileSelectorDefaultWildcardStr,
27 long style = 0,
28 const wxPoint& pos = wxDefaultPosition);
2bda0e17 29
f74172ab
VZ
30 virtual void SetPath(const wxString& path);
31 virtual void GetPaths(wxArrayString& paths) const;
89654c9a 32 virtual void GetFilenames(wxArrayString& files) const;
c61f4f6d 33
2b5f62a0 34 virtual int ShowModal();
ba681060 35
0b11099d 36protected:
dcbbda54 37
9b141468 38#if !(defined(__SMARTPHONE__) && defined(__WXWINCE__))
0b11099d
VZ
39 virtual void DoMoveWindow(int x, int y, int width, int height);
40 virtual void DoGetSize( int *width, int *height ) const;
41 virtual void DoGetPosition( int *x, int *y ) const;
9b141468 42#endif // !(__SMARTPHONE__ && __WXWINCE__)
0b11099d 43
f74172ab 44private:
c61f4f6d 45 wxArrayString m_fileNames;
0b11099d 46 bool m_bMovedWindow;
c61f4f6d 47
c61f4f6d 48 DECLARE_DYNAMIC_CLASS(wxFileDialog)
22f3361e 49 DECLARE_NO_COPY_CLASS(wxFileDialog)
2bda0e17
KB
50};
51
b600ed13 52#endif // _WX_FILEDLG_H_
c61f4f6d 53