]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/filedlg.h
applied heavily modified patch 1116702: support for specifying disabled toolbar image...
[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
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
0b11099d 40protected:
dcbbda54 41
9b141468 42#if !(defined(__SMARTPHONE__) && defined(__WXWINCE__))
0b11099d
VZ
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;
9b141468 46#endif // !(__SMARTPHONE__ && __WXWINCE__)
0b11099d 47
f74172ab 48private:
c61f4f6d 49 wxArrayString m_fileNames;
0b11099d 50 bool m_bMovedWindow;
c61f4f6d 51
c61f4f6d 52 DECLARE_DYNAMIC_CLASS(wxFileDialog)
22f3361e 53 DECLARE_NO_COPY_CLASS(wxFileDialog)
2bda0e17
KB
54};
55
b600ed13 56#endif // _WX_FILEDLG_H_
c61f4f6d 57