]> git.saurik.com Git - wxWidgets.git/blob - src/os2/dirdlg.cpp
Remove SashHitTest() "tolerance" parameter
[wxWidgets.git] / src / os2 / dirdlg.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/os2/dirdlg.cpp
3 // Purpose: wxDirDialog
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 // For compilers that support precompilation, includes "wx.h".
13 #include "wx/wxprec.h"
14
15 #include "wx/dirdlg.h"
16 #include "wx/testing.h"
17
18 #ifndef WX_PRECOMP
19 #include <stdio.h>
20 #include "wx/utils.h"
21 #include "wx/dialog.h"
22 #endif
23
24 #include "wx/os2/private.h"
25
26 #include <stdlib.h>
27 #include <string.h>
28
29 #define wxDIALOG_DEFAULT_X 300
30 #define wxDIALOG_DEFAULT_Y 300
31
32 IMPLEMENT_CLASS(wxDirDialog, wxDialog)
33
34 wxDirDialog::wxDirDialog(wxWindow *parent, const wxString& message,
35 const wxString& defaultPath,
36 long style, const wxPoint& pos)
37 {
38 m_message = message;
39 m_windowStyle = style;
40 m_parent = parent;
41 m_path = defaultPath;
42 }
43
44 int wxDirDialog::ShowModal()
45 {
46 WX_TESTING_SHOW_MODAL_HOOK();
47
48 // TODO
49 return wxID_CANCEL;
50 }