]> git.saurik.com Git - wxWidgets.git/blob - include/wx/palmos/dirdlg.h
updated to derive from wxEventLoopManual
[wxWidgets.git] / include / wx / palmos / dirdlg.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/palmos/dirdlg.h
3 // Purpose: wxDirDialog class
4 // Author: William Osborne - minimal working wxPalmOS port
5 // Modified by:
6 // Created: 10/13/04
7 // RCS-ID: $Id$
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_DIRDLG_H_
13 #define _WX_DIRDLG_H_
14
15 class WXDLLEXPORT wxDirDialog : public wxDialog
16 {
17 public:
18 wxDirDialog(wxWindow *parent,
19 const wxString& message = wxDirSelectorPromptStr,
20 const wxString& defaultPath = wxEmptyString,
21 long style = 0,
22 const wxPoint& pos = wxDefaultPosition,
23 const wxSize& size = wxDefaultSize,
24 const wxString& name = wxDirDialogNameStr);
25
26 void SetMessage(const wxString& message) { m_message = message; }
27 void SetPath(const wxString& path);
28 void SetStyle(long style) { SetWindowStyle(style); }
29
30 wxString GetMessage() const { return m_message; }
31 wxString GetPath() const { return m_path; }
32 long GetStyle() const { return GetWindowStyle(); }
33
34 virtual int ShowModal();
35
36 protected:
37 wxString m_message;
38 wxString m_path;
39
40 private:
41 DECLARE_DYNAMIC_CLASS_NO_COPY(wxDirDialog)
42 };
43
44 #endif
45 // _WX_DIRDLG_H_