]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/filedlg.h
no changes, just remove #if'd out code
[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
53a2db12 19class WXDLLIMPEXP_CORE 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,
ff3e84ff
VZ
27 long style = wxFD_DEFAULT_STYLE,
28 const wxPoint& pos = wxDefaultPosition,
29 const wxSize& sz = wxDefaultSize,
30 const wxString& name = wxFileDialogNameStr);
2bda0e17 31
f74172ab
VZ
32 virtual void SetPath(const wxString& path);
33 virtual void GetPaths(wxArrayString& paths) const;
89654c9a 34 virtual void GetFilenames(wxArrayString& files) const;
6fa6d659
VZ
35#ifndef __WXWINCE__
36 virtual bool SupportsExtraControl() const { return true; }
6fa6d659 37 void MSWOnInitDialogHook(WXHWND hwnd);
d6dae1b4 38#endif // __WXWINCE__
c61f4f6d 39
2b5f62a0 40 virtual int ShowModal();
ba681060 41
0a7b0229
VZ
42 // wxMSW-specific implementation from now on
43 // -----------------------------------------
44
45 // called from the hook procedure on CDN_INITDONE reception
46 virtual void MSWOnInitDone(WXHWND hDlg);
47
0b11099d 48protected:
dcbbda54 49
9b141468 50#if !(defined(__SMARTPHONE__) && defined(__WXWINCE__))
0b11099d 51 virtual void DoMoveWindow(int x, int y, int width, int height);
0a7b0229 52 virtual void DoCentre(int dir);
0b11099d
VZ
53 virtual void DoGetSize( int *width, int *height ) const;
54 virtual void DoGetPosition( int *x, int *y ) const;
9b141468 55#endif // !(__SMARTPHONE__ && __WXWINCE__)
0b11099d 56
f74172ab 57private:
c61f4f6d 58 wxArrayString m_fileNames;
0a7b0229
VZ
59
60 // remember if our SetPosition() or Centre() (which requires special
61 // treatment) was called
0b11099d 62 bool m_bMovedWindow;
0a7b0229 63 int m_centreDir; // nothing to do if 0
c61f4f6d 64
c61f4f6d 65 DECLARE_DYNAMIC_CLASS(wxFileDialog)
c0c133e1 66 wxDECLARE_NO_COPY_CLASS(wxFileDialog);
2bda0e17
KB
67};
68
b600ed13 69#endif // _WX_FILEDLG_H_
c61f4f6d 70