]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/mac/classic/dirdlg.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxDirDialog class
4 // Author: Stefan Csomor
8 // Copyright: (c) Stefan Csomor
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
15 class WXDLLEXPORT wxDirDialog
: public wxDialog
18 wxDirDialog(wxWindow
*parent
,
19 const wxString
& message
= wxDirSelectorPromptStr
,
20 const wxString
& defaultPath
= _T(""),
21 long style
= wxDD_DEFAULT_STYLE
,
22 const wxPoint
& pos
= wxDefaultPosition
,
23 const wxSize
& size
= wxDefaultSize
,
24 const wxString
& name
= wxDirDialogNameStr
);
26 void SetMessage(const wxString
& message
) { m_message
= message
; }
27 void SetPath(const wxString
& path
) { m_path
= path
; }
28 void SetStyle(long style
) { m_dialogStyle
= style
; }
30 wxString
GetMessage() const { return m_message
; }
31 wxString
GetPath() const { return m_path
; }
32 long GetStyle() const { return m_dialogStyle
; }
34 virtual int ShowModal();
42 DECLARE_DYNAMIC_CLASS(wxDirDialog
)