]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk1/filedlg.h
Less MSW related files in wxPalmOS port.
[wxWidgets.git] / include / wx / gtk1 / filedlg.h
CommitLineData
c801d85f
KB
1/////////////////////////////////////////////////////////////////////////////
2// Name: filedlg.h
3// Purpose:
4// Author: Robert Roebling
58614078
RR
5// Id: $Id$
6// Copyright: (c) 1998 Robert Roebling
65571936 7// Licence: wxWindows licence
c801d85f
KB
8/////////////////////////////////////////////////////////////////////////////
9
10
11#ifndef __GTKFILEDLGH__
12#define __GTKFILEDLGH__
13
12028905 14#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
49a14366 15#pragma interface "filedlggtk.h"
c801d85f
KB
16#endif
17
4e1901b7
RR
18#include "wx/generic/filedlgg.h"
19
c801d85f 20//-------------------------------------------------------------------------
f74172ab 21// wxFileDialog
c801d85f
KB
22//-------------------------------------------------------------------------
23
4e1901b7 24class wxFileDialog: public wxGenericFileDialog
c801d85f 25{
0e1399b3
VZ
26public:
27 wxFileDialog() { }
28
29 wxFileDialog(wxWindow *parent,
30 const wxString& message = wxFileSelectorPromptStr,
f74172ab
VZ
31 const wxString& defaultDir = wxEmptyString,
32 const wxString& defaultFile = wxEmptyString,
0e1399b3
VZ
33 const wxString& wildCard = wxFileSelectorDefaultWildcardStr,
34 long style = 0,
35 const wxPoint& pos = wxDefaultPosition);
76840ed0
RR
36
37 ~wxFileDialog();
2748d251 38
9755e73b
VS
39 virtual void GetPaths(wxArrayString& paths) const;
40 virtual void GetFilenames(wxArrayString& files) const;
20e05ffb 41
9755e73b
VS
42 virtual void SetMessage(const wxString& message);
43 virtual void SetPath(const wxString& path);
44 virtual void SetDirectory(const wxString& dir);
45 virtual void SetFilename(const wxString& name);
46 virtual void SetWildcard(const wxString& wildCard);
47 virtual void SetFilterIndex(int filterIndex);
c2740a5a 48
4e1901b7
RR
49 virtual int ShowModal();
50 virtual bool Show( bool show = true );
51
52 void OnFakeOk( wxCommandEvent &event );
53
c2740a5a
RR
54//private:
55 bool m_destroyed_by_delete;
56
6120f2fc 57 void UpdateFromDialog();
6120f2fc 58 void UpdateDialog();
4e1901b7
RR
59
60private:
20e05ffb 61 DECLARE_DYNAMIC_CLASS(wxFileDialog)
4e1901b7 62 DECLARE_EVENT_TABLE()
c801d85f
KB
63};
64
b600ed13 65#endif // __GTKFILEDLGH__