]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/os2/dirdlg.h
Helper for clipping to range.
[wxWidgets.git] / include / wx / os2 / dirdlg.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: dirdlg.h
3// Purpose: wxDirDialog class
4// Author: David Webster
5// Modified by:
6// Created: 10/14/99
7// RCS-ID: $Id$
8// Copyright: (c) David Webster
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_DIRDLG_H_
13#define _WX_DIRDLG_H_
14
15#include "wx/dialog.h"
16
17WXDLLEXPORT_DATA(extern const wxChar) wxFileSelectorPromptStr[];
18
19class WXDLLEXPORT wxDirDialog: public wxDirDialogBase
20{
21DECLARE_DYNAMIC_CLASS(wxDirDialog)
22public:
23 wxDirDialog(wxWindow *parent, const wxString& message = wxFileSelectorPromptStr,
24 const wxString& defaultPath = "",
25 long style = 0, const wxPoint& pos = wxDefaultPosition);
26
27 inline void SetStyle(long style) { m_dialogStyle = style; }
28 inline long GetStyle() const { return m_dialogStyle; }
29
30 int ShowModal();
31
32protected:
33 long m_dialogStyle;
34 wxWindow * m_parent;
35};
36
37#endif
38 // _WX_DIRDLG_H_