1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxDirDialog
4 // Author: Francesco Montorsi
6 // Copyright: (c) 2006 Francesco Montorsi
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 #ifndef __GTKDIRDLGH__
11 #define __GTKDIRDLGH__
13 //-------------------------------------------------------------------------
15 //-------------------------------------------------------------------------
17 class WXDLLIMPEXP_CORE wxDirDialog
: public wxDirDialogBase
22 wxDirDialog(wxWindow
*parent
,
23 const wxString
& message
= wxDirSelectorPromptStr
,
24 const wxString
& defaultPath
= wxEmptyString
,
25 long style
= wxDD_DEFAULT_STYLE
,
26 const wxPoint
& pos
= wxDefaultPosition
,
27 const wxSize
& size
= wxDefaultSize
,
28 const wxString
& name
= wxDirDialogNameStr
);
30 virtual ~wxDirDialog() { }
33 public: // overrides from wxGenericDirDialog
35 wxString
GetPath() const;
36 void SetPath(const wxString
& path
);
40 // override this from wxTLW since the native
41 // form doesn't have any m_wxwindow
42 virtual void DoSetSize(int x
, int y
,
43 int width
, int height
,
44 int sizeFlags
= wxSIZE_AUTO
);
48 void OnFakeOk( wxCommandEvent
&event
);
50 DECLARE_DYNAMIC_CLASS(wxDirDialog
)
54 #endif // __GTKDIRDLGH__