]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk/filedlg.h
invalidating vis regions upon tlw resize as well
[wxWidgets.git] / include / wx / gtk / 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);
f8bc53eb
JS
36
37 virtual ~wxFileDialog();
38
39 virtual wxString GetPath() const;
9755e73b 40 virtual void GetPaths(wxArrayString& paths) const;
f8bc53eb
JS
41 virtual wxString GetDirectory() const;
42 virtual wxString GetFilename() const;
9755e73b 43 virtual void GetFilenames(wxArrayString& files) const;
f8bc53eb
JS
44 virtual int GetFilterIndex() const;
45
9755e73b
VS
46 virtual void SetMessage(const wxString& message);
47 virtual void SetPath(const wxString& path);
48 virtual void SetDirectory(const wxString& dir);
49 virtual void SetFilename(const wxString& name);
50 virtual void SetWildcard(const wxString& wildCard);
51 virtual void SetFilterIndex(int filterIndex);
f8bc53eb 52
4e1901b7
RR
53 virtual int ShowModal();
54 virtual bool Show( bool show = true );
55
c2740a5a
RR
56//private:
57 bool m_destroyed_by_delete;
4e1901b7 58
f8bc53eb 59private:
20e05ffb 60 DECLARE_DYNAMIC_CLASS(wxFileDialog)
4e1901b7 61 DECLARE_EVENT_TABLE()
f8bc53eb 62 void OnFakeOk( wxCommandEvent &event );
c801d85f
KB
63};
64
b600ed13 65#endif // __GTKFILEDLGH__