]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk/dirdlg.h
m_menubar does not need to be public for hildon, it's the same as m_widget in that...
[wxWidgets.git] / include / wx / gtk / dirdlg.h
CommitLineData
b50747ea 1/////////////////////////////////////////////////////////////////////////////
80fdcdb9 2// Name: wx/gtk/dirdlg.h
ff3e84ff 3// Purpose: wxDirDialog
b50747ea
RR
4// Author: Francesco Montorsi
5// Id: $Id$
6// Copyright: (c) 2006 Francesco Montorsi
7// Licence: wxWindows licence
8/////////////////////////////////////////////////////////////////////////////
9
10#ifndef __GTKDIRDLGH__
11#define __GTKDIRDLGH__
12
b50747ea 13//-------------------------------------------------------------------------
ff3e84ff 14// wxDirDialog
b50747ea
RR
15//-------------------------------------------------------------------------
16
ff654490 17class WXDLLIMPEXP_CORE wxDirDialog : public wxDirDialogBase
b50747ea
RR
18{
19public:
ff3e84ff 20 wxDirDialog() { }
b50747ea 21
ff3e84ff 22 wxDirDialog(wxWindow *parent,
b50747ea 23 const wxString& message = wxDirSelectorPromptStr,
141d782d 24 const wxString& defaultPath = wxEmptyString,
b50747ea
RR
25 long style = wxDD_DEFAULT_STYLE,
26 const wxPoint& pos = wxDefaultPosition,
27 const wxSize& size = wxDefaultSize,
28 const wxString& name = wxDirDialogNameStr);
e3f54c8f
VZ
29 bool Create(wxWindow *parent,
30 const wxString& message = wxDirSelectorPromptStr,
31 const wxString& defaultPath = wxEmptyString,
32 long style = wxDD_DEFAULT_STYLE,
33 const wxPoint& pos = wxDefaultPosition,
34 const wxSize& size = wxDefaultSize,
35 const wxString& name = wxDirDialogNameStr);
ff3e84ff 36 virtual ~wxDirDialog() { }
b50747ea
RR
37
38
39public: // overrides from wxGenericDirDialog
40
41 wxString GetPath() const;
42 void SetPath(const wxString& path);
43
b50747ea 44
5a7c1881
VZ
45 // Implementation only.
46
47 void GTKOnAccept();
48 void GTKOnCancel();
49
b50747ea
RR
50protected:
51 // override this from wxTLW since the native
52 // form doesn't have any m_wxwindow
53 virtual void DoSetSize(int x, int y,
54 int width, int height,
55 int sizeFlags = wxSIZE_AUTO);
56
57
58private:
5a7c1881 59 wxString m_selectedDirectory;
ff654490 60
ff3e84ff 61 DECLARE_DYNAMIC_CLASS(wxDirDialog)
b50747ea
RR
62};
63
64#endif // __GTKDIRDLGH__