]>
Commit | Line | Data |
---|---|---|
0e320a79 DW |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: dirdlg.cpp | |
3 | // Purpose: wxDirDialog | |
fb46a9a6 | 4 | // Author: David Webster |
0e320a79 | 5 | // Modified by: |
fb46a9a6 | 6 | // Created: 10/14/99 |
0e320a79 | 7 | // RCS-ID: $Id$ |
fb46a9a6 DW |
8 | // Copyright: (c) David Webster |
9 | // Licence: wxWindows licence | |
0e320a79 DW |
10 | ///////////////////////////////////////////////////////////////////////////// |
11 | ||
fb46a9a6 DW |
12 | // For compilers that support precompilation, includes "wx.h". |
13 | #include "wx/wxprec.h" | |
0e320a79 | 14 | |
fb46a9a6 DW |
15 | #ifndef WX_PRECOMP |
16 | #include <stdio.h> | |
0e320a79 DW |
17 | #include "wx/defs.h" |
18 | #include "wx/utils.h" | |
19 | #include "wx/dialog.h" | |
20 | #include "wx/dirdlg.h" | |
fb46a9a6 | 21 | #endif |
0e320a79 | 22 | |
fb46a9a6 | 23 | #include "wx/os2/private.h" |
0e320a79 DW |
24 | #include "wx/cmndata.h" |
25 | ||
fb46a9a6 DW |
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 | ||
0e320a79 | 33 | IMPLEMENT_CLASS(wxDirDialog, wxDialog) |
0e320a79 DW |
34 | |
35 | wxDirDialog::wxDirDialog(wxWindow *parent, const wxString& message, | |
36 | const wxString& defaultPath, | |
37 | long style, const wxPoint& pos) | |
38 | { | |
39 | m_message = message; | |
40 | m_dialogStyle = style; | |
41 | m_parent = parent; | |
fb46a9a6 | 42 | m_path = defaultPath; |
0e320a79 DW |
43 | } |
44 | ||
45 | int wxDirDialog::ShowModal() | |
46 | { | |
47 | // TODO | |
fb46a9a6 | 48 | return wxID_CANCEL; |
0e320a79 DW |
49 | } |
50 |