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