]> git.saurik.com Git - wxWidgets.git/blob - src/os2/dirdlg.cpp
Rotated text patch from Hans-Joachim Baader (with some corrections)
[wxWidgets.git] / src / os2 / dirdlg.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: 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 #ifndef WX_PRECOMP
16 #include <stdio.h>
17 #include "wx/defs.h"
18 #include "wx/utils.h"
19 #include "wx/dialog.h"
20 #include "wx/dirdlg.h"
21 #endif
22
23 #include "wx/os2/private.h"
24 #include "wx/cmndata.h"
25
26 #include <math.h>
27 #include <stdlib.h>
28 #include <string.h>
29
30 #define wxDIALOG_DEFAULT_X 300
31 #define wxDIALOG_DEFAULT_Y 300
32
33 #if !USE_SHARED_LIBRARY
34 IMPLEMENT_CLASS(wxDirDialog, wxDialog)
35 #endif
36
37 wxDirDialog::wxDirDialog(wxWindow *parent, const wxString& message,
38 const wxString& defaultPath,
39 long style, const wxPoint& pos)
40 {
41 m_message = message;
42 m_dialogStyle = style;
43 m_parent = parent;
44 m_path = defaultPath;
45 }
46
47 int wxDirDialog::ShowModal()
48 {
49 // TODO
50 return wxID_CANCEL;
51 }
52