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 #include "wx/generic/dirdlgg.h"
15 //-------------------------------------------------------------------------
17 //-------------------------------------------------------------------------
19 class WXDLLIMPEXP_CORE wxDirDialog
: public wxGenericDirDialog
24 wxDirDialog(wxWindow
*parent
,
25 const wxString
& message
= wxDirSelectorPromptStr
,
26 const wxString
& defaultPath
= wxEmptyString
,
27 long style
= wxDD_DEFAULT_STYLE
,
28 const wxPoint
& pos
= wxDefaultPosition
,
29 const wxSize
& size
= wxDefaultSize
,
30 const wxString
& name
= wxDirDialogNameStr
);
32 virtual ~wxDirDialog() { }
35 public: // overrides from wxGenericDirDialog
37 wxString
GetPath() const;
38 void SetPath(const wxString
& path
);
40 virtual int ShowModal();
41 virtual bool Show( bool show
= true );
45 // override this from wxTLW since the native
46 // form doesn't have any m_wxwindow
47 virtual void DoSetSize(int x
, int y
,
48 int width
, int height
,
49 int sizeFlags
= wxSIZE_AUTO
);
53 DECLARE_DYNAMIC_CLASS(wxDirDialog
)
55 void OnFakeOk( wxCommandEvent
&event
);
58 #endif // __GTKDIRDLGH__