]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/mac/dirdlg.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxDirDialog class
8 // Copyright: (c) AUTHOR
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
15 #if defined(__GNUG__) && !defined(__APPLE__)
16 #pragma interface "dirdlg.h"
19 class WXDLLEXPORT wxDirDialog
: public wxDialog
22 wxDirDialog(wxWindow
*parent
,
23 const wxString
& message
= wxDirSelectorPromptStr
,
24 const wxString
& defaultPath
= _T(""),
26 const wxPoint
& pos
= wxDefaultPosition
,
27 const wxSize
& size
= wxDefaultSize
,
28 const wxString
& name
= wxDirDialogNameStr
);
30 void SetMessage(const wxString
& message
) { m_message
= message
; }
31 void SetPath(const wxString
& path
) { m_path
= path
; }
32 void SetStyle(long style
) { m_dialogStyle
= style
; }
34 wxString
GetMessage() const { return m_message
; }
35 wxString
GetPath() const { return m_path
; }
36 long GetStyle() const { return m_dialogStyle
; }
38 virtual int ShowModal();
46 DECLARE_DYNAMIC_CLASS(wxDirDialog
)