1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
11 #ifndef __GTKFILEDLGH__
12 #define __GTKFILEDLGH__
14 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
15 #pragma interface "filedlggtk.h"
18 #include "wx/generic/filedlgg.h"
20 //-------------------------------------------------------------------------
22 //-------------------------------------------------------------------------
24 class wxFileDialog
: public wxGenericFileDialog
29 wxFileDialog(wxWindow
*parent
,
30 const wxString
& message
= wxFileSelectorPromptStr
,
31 const wxString
& defaultDir
= wxEmptyString
,
32 const wxString
& defaultFile
= wxEmptyString
,
33 const wxString
& wildCard
= wxFileSelectorDefaultWildcardStr
,
35 const wxPoint
& pos
= wxDefaultPosition
);
37 virtual ~wxFileDialog();
39 virtual wxString
GetPath() const;
40 virtual void GetPaths(wxArrayString
& paths
) const;
41 virtual wxString
GetDirectory() const;
42 virtual wxString
GetFilename() const;
43 virtual void GetFilenames(wxArrayString
& files
) const;
44 virtual int GetFilterIndex() const;
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
);
53 virtual int ShowModal();
54 virtual bool Show( bool show
= true );
57 bool m_destroyed_by_delete
;
60 DECLARE_DYNAMIC_CLASS(wxFileDialog
)
62 void OnFakeOk( wxCommandEvent
&event
);
65 #endif // __GTKFILEDLGH__