]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/dirdlg.h
Small fixes for compiling Cygwin (with --disable-sockets)
[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 8// Copyright: (c) Julian Smart
d71cc120 9// Licence: wxWindows licence
2bda0e17
KB
10/////////////////////////////////////////////////////////////////////////////
11
bbcdf8bc
JS
12#ifndef _WX_DIRDLG_H_
13#define _WX_DIRDLG_H_
2bda0e17 14
12028905 15#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
2bda0e17
KB
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 24 const wxString& defaultPath = wxEmptyString,
0f0b19d6 25 long style = wxDD_DEFAULT_STYLE,
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);
367f7c45 32 void SetStyle(long style) { SetWindowStyle(style); }
2bda0e17 33
f3558acc
VZ
34 wxString GetMessage() const { return m_message; }
35 wxString GetPath() const { return m_path; }
367f7c45 36 long GetStyle() const { return GetWindowStyle(); }
2bda0e17 37
f3558acc 38 virtual int ShowModal();
2bda0e17
KB
39
40protected:
41 wxString m_message;
2bda0e17 42 wxString m_path;
f3558acc
VZ
43
44private:
fc7a2a60 45 DECLARE_DYNAMIC_CLASS_NO_COPY(wxDirDialog)
2bda0e17
KB
46};
47
48#endif
bbcdf8bc 49 // _WX_DIRDLG_H_