]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk1/filedlg.h
Prevent GDK assertions when a window has a hidden (never shown) parent -- do not...
[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)
c801d85f
KB
15#pragma interface
16#endif
17
c801d85f 18//-------------------------------------------------------------------------
f74172ab 19// wxFileDialog
c801d85f
KB
20//-------------------------------------------------------------------------
21
f74172ab 22class wxFileDialog: public wxFileDialogBase
c801d85f 23{
0e1399b3
VZ
24public:
25 wxFileDialog() { }
26
27 wxFileDialog(wxWindow *parent,
28 const wxString& message = wxFileSelectorPromptStr,
f74172ab
VZ
29 const wxString& defaultDir = wxEmptyString,
30 const wxString& defaultFile = wxEmptyString,
0e1399b3
VZ
31 const wxString& wildCard = wxFileSelectorDefaultWildcardStr,
32 long style = 0,
33 const wxPoint& pos = wxDefaultPosition);
76840ed0
RR
34
35 ~wxFileDialog();
2748d251 36
9755e73b
VS
37 virtual void GetPaths(wxArrayString& paths) const;
38 virtual void GetFilenames(wxArrayString& files) const;
20e05ffb 39
9755e73b
VS
40 virtual void SetMessage(const wxString& message);
41 virtual void SetPath(const wxString& path);
42 virtual void SetDirectory(const wxString& dir);
43 virtual void SetFilename(const wxString& name);
44 virtual void SetWildcard(const wxString& wildCard);
45 virtual void SetFilterIndex(int filterIndex);
c2740a5a
RR
46
47//private:
48 bool m_destroyed_by_delete;
49
6120f2fc 50 void UpdateFromDialog();
6120f2fc
VS
51 void UpdateDialog();
52
20e05ffb 53 DECLARE_DYNAMIC_CLASS(wxFileDialog)
c801d85f
KB
54};
55
b600ed13 56#endif // __GTKFILEDLGH__