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)
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
);
39 virtual void GetPaths(wxArrayString
& paths
) const;
40 virtual void GetFilenames(wxArrayString
& files
) const;
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
);
49 virtual int ShowModal();
50 virtual bool Show( bool show
= true );
52 void OnFakeOk( wxCommandEvent
&event
);
55 bool m_destroyed_by_delete
;
57 void UpdateFromDialog();
61 DECLARE_DYNAMIC_CLASS(wxFileDialog
)
65 #endif // __GTKFILEDLGH__