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