]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/mac/classic/dirdlg.h
06a4122af00b4f25d7624052b4bca27ba55722a6
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxDirDialog class
4 // Author: Stefan Csomor
8 // Copyright: (c) Stefan Csomor
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
15 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
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(""),
25 long style
= wxDD_DEFAULT_STYLE
,
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
)