]> git.saurik.com Git - wxWidgets.git/blob - src/os2/dirdlg.cpp
Document wxTreeCtrl::GetItemFont() behaviour for items without font.
[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 // Copyright: (c) David Webster
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
10
11 // For compilers that support precompilation, includes "wx.h".
12 #include "wx/wxprec.h"
13
14 #include "wx/dirdlg.h"
15 #include "wx/modalhook.h"
16
17 #ifndef WX_PRECOMP
18 #include <stdio.h>
19 #include "wx/utils.h"
20 #include "wx/dialog.h"
21 #endif
22
23 #include "wx/os2/private.h"
24
25 #include <stdlib.h>
26 #include <string.h>
27
28 #define wxDIALOG_DEFAULT_X 300
29 #define wxDIALOG_DEFAULT_Y 300
30
31 IMPLEMENT_CLASS(wxDirDialog, wxDialog)
32
33 wxDirDialog::wxDirDialog(wxWindow *parent, const wxString& message,
34 const wxString& defaultPath,
35 long style, const wxPoint& pos)
36 {
37 m_message = message;
38 m_windowStyle = style;
39 m_parent = parent;
40 m_path = defaultPath;
41 }
42
43 int wxDirDialog::ShowModal()
44 {
45 WX_HOOK_MODAL_DIALOG();
46
47 // TODO
48 return wxID_CANCEL;
49 }