]>
Commit | Line | Data |
---|---|---|
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 | #ifdef __GNUG__ | |
13 | #pragma implementation "dirdlg.h" | |
14 | #endif | |
15 | ||
16 | // For compilers that support precompilation, includes "wx.h". | |
17 | #include "wx/wxprec.h" | |
18 | ||
19 | #ifndef WX_PRECOMP | |
20 | #include <stdio.h> | |
21 | #include "wx/defs.h" | |
22 | #include "wx/utils.h" | |
23 | #include "wx/dialog.h" | |
24 | #include "wx/dirdlg.h" | |
25 | #endif | |
26 | ||
27 | #include "wx/os2/private.h" | |
28 | #include "wx/cmndata.h" | |
29 | ||
30 | #include <math.h> | |
31 | #include <stdlib.h> | |
32 | #include <string.h> | |
33 | ||
34 | #define wxDIALOG_DEFAULT_X 300 | |
35 | #define wxDIALOG_DEFAULT_Y 300 | |
36 | ||
37 | IMPLEMENT_CLASS(wxDirDialog, wxDialog) | |
38 | ||
39 | wxDirDialog::wxDirDialog(wxWindow *parent, const wxString& message, | |
40 | const wxString& defaultPath, | |
41 | long style, const wxPoint& pos) | |
42 | { | |
43 | m_message = message; | |
44 | m_dialogStyle = style; | |
45 | m_parent = parent; | |
46 | m_path = defaultPath; | |
47 | } | |
48 | ||
49 | int wxDirDialog::ShowModal() | |
50 | { | |
51 | // TODO | |
52 | return wxID_CANCEL; | |
53 | } | |
54 |