]>
git.saurik.com Git - wxWidgets.git/blob - src/os2/dirdlg.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/os2/dirdlg.cpp
3 // Purpose: wxDirDialog
4 // Author: David Webster
7 // Copyright: (c) David Webster
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 // For compilers that support precompilation, includes "wx.h".
12 #include "wx/wxprec.h"
14 #include "wx/dirdlg.h"
15 #include "wx/modalhook.h"
20 #include "wx/dialog.h"
23 #include "wx/os2/private.h"
28 #define wxDIALOG_DEFAULT_X 300
29 #define wxDIALOG_DEFAULT_Y 300
31 IMPLEMENT_CLASS(wxDirDialog
, wxDialog
)
33 wxDirDialog::wxDirDialog(wxWindow
*parent
, const wxString
& message
,
34 const wxString
& defaultPath
,
35 long style
, const wxPoint
& pos
)
38 m_windowStyle
= style
;
43 int wxDirDialog::ShowModal()
45 WX_HOOK_MODAL_DIALOG();