]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/os2/dirdlg.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxDirDialog class
4 // Author: David Webster
8 // Copyright: (c) David Webster
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
15 #include "wx/dialog.h"
17 WXDLLEXPORT_DATA(extern const char*) wxFileSelectorPromptStr
;
19 class WXDLLEXPORT wxDirDialog
: public wxDialog
21 DECLARE_DYNAMIC_CLASS(wxDirDialog
)
23 wxDirDialog(wxWindow
*parent
, const wxString
& message
= wxFileSelectorPromptStr
,
24 const wxString
& defaultPath
= "",
25 long style
= 0, const wxPoint
& pos
= wxDefaultPosition
);
27 inline void SetMessage(const wxString
& message
) { m_message
= message
; }
28 inline void SetPath(const wxString
& path
) { m_path
= path
; }
29 inline void SetStyle(long style
) { m_dialogStyle
= style
; }
31 inline wxString
GetMessage() const { return m_message
; }
32 inline wxString
GetPath() const { return m_path
; }
33 inline long GetStyle() const { return m_dialogStyle
; }