]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/dirdlg.h
OpenWatcom compilation fixes (patch 665959)
[wxWidgets.git] / include / wx / msw / dirdlg.h
CommitLineData
2bda0e17 1/////////////////////////////////////////////////////////////////////////////
f3558acc 2// Name: wx/msw/dirdlg.h
2bda0e17
KB
3// Purpose: wxDirDialog class
4// Author: Julian Smart
5// Modified by:
6// Created: 01/02/97
7// RCS-ID: $Id$
bbcdf8bc
JS
8// Copyright: (c) Julian Smart
9// Licence: wxWindows licence
2bda0e17
KB
10/////////////////////////////////////////////////////////////////////////////
11
bbcdf8bc
JS
12#ifndef _WX_DIRDLG_H_
13#define _WX_DIRDLG_H_
2bda0e17
KB
14
15#ifdef __GNUG__
16#pragma interface "dirdlg.h"
17#endif
18
f3558acc 19class WXDLLEXPORT wxDirDialog : public wxDialog
2bda0e17 20{
2bda0e17 21public:
f3558acc 22 wxDirDialog(wxWindow *parent,
e78d4a23 23 const wxString& message = wxDirSelectorPromptStr,
f3558acc
VZ
24 const wxString& defaultPath = wxEmptyString,
25 long style = 0,
e78d4a23
VZ
26 const wxPoint& pos = wxDefaultPosition,
27 const wxSize& size = wxDefaultSize,
28 const wxString& name = wxDirDialogNameStr);
2bda0e17 29
f3558acc 30 void SetMessage(const wxString& message) { m_message = message; }
f94dd12d 31 void SetPath(const wxString& path);
f3558acc 32 void SetStyle(long style) { m_dialogStyle = style; }
2bda0e17 33
f3558acc
VZ
34 wxString GetMessage() const { return m_message; }
35 wxString GetPath() const { return m_path; }
36 long GetStyle() const { return m_dialogStyle; }
2bda0e17 37
f3558acc 38 virtual int ShowModal();
2bda0e17
KB
39
40protected:
41 wxString m_message;
42 long m_dialogStyle;
2bda0e17 43 wxString m_path;
f3558acc
VZ
44
45private:
46 DECLARE_DYNAMIC_CLASS(wxDirDialog)
2bda0e17
KB
47};
48
49#endif
bbcdf8bc 50 // _WX_DIRDLG_H_