]>
Commit | Line | Data |
---|---|---|
0e320a79 DW |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: msgdlg.cpp | |
3 | // Purpose: wxMessageDialog | |
cdf1e714 | 4 | // Author: David Webster |
0e320a79 | 5 | // Modified by: |
cdf1e714 | 6 | // Created: 10/10/99 |
0e320a79 | 7 | // RCS-ID: $$ |
cdf1e714 DW |
8 | // Copyright: (c) David Webster |
9 | // Licence: wxWindows licence | |
0e320a79 DW |
10 | ///////////////////////////////////////////////////////////////////////////// |
11 | ||
cdf1e714 DW |
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/msgdlg.h" | |
0e320a79 DW |
21 | #endif |
22 | ||
cdf1e714 DW |
23 | #include "wx/os2/private.h" |
24 | ||
25 | #include <math.h> | |
26 | #include <stdlib.h> | |
27 | #include <string.h> | |
28 | ||
29 | #define wxDIALOG_DEFAULT_X 300 | |
30 | #define wxDIALOG_DEFAULT_Y 300 | |
0e320a79 | 31 | |
0e320a79 | 32 | IMPLEMENT_CLASS(wxMessageDialog, wxDialog) |
0e320a79 DW |
33 | |
34 | wxMessageDialog::wxMessageDialog(wxWindow *parent, const wxString& message, const wxString& caption, | |
35 | long style, const wxPoint& pos) | |
36 | { | |
37 | m_caption = caption; | |
38 | m_message = message; | |
39 | m_dialogStyle = style; | |
40 | m_parent = parent; | |
41 | } | |
42 | ||
43 | int wxMessageDialog::ShowModal() | |
44 | { | |
45 | // TODO | |
46 | return wxID_CANCEL; | |
47 | } | |
48 |