]> git.saurik.com Git - wxWidgets.git/blob - include/wx/os2/dirdlg.h
Don't create multiple parent-less top level frames in layout sample.
[wxWidgets.git] / include / wx / os2 / dirdlg.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/os2/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
17 WXDLLIMPEXP_DATA_CORE(extern const wxChar) wxFileSelectorPromptStr[];
18
19 class WXDLLIMPEXP_CORE wxDirDialog: public wxDirDialogBase
20 {
21 DECLARE_DYNAMIC_CLASS(wxDirDialog)
22 public:
23 wxDirDialog(wxWindow *parent, const wxString& message = wxFileSelectorPromptStr,
24 const wxString& defaultPath = "",
25 long style = 0, const wxPoint& pos = wxDefaultPosition);
26
27 int ShowModal();
28
29 protected:
30 wxWindow * m_parent;
31 };
32
33 #endif
34 // _WX_DIRDLG_H_