]>
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 | ||
aa213887 SN |
12 | #ifdef __GNUG__ |
13 | #pragma implementation "msgdlg.h" | |
14 | #endif | |
15 | ||
cdf1e714 DW |
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/msgdlg.h" | |
0e320a79 DW |
25 | #endif |
26 | ||
cdf1e714 DW |
27 | #include "wx/os2/private.h" |
28 | ||
29 | #include <math.h> | |
30 | #include <stdlib.h> | |
31 | #include <string.h> | |
32 | ||
33 | #define wxDIALOG_DEFAULT_X 300 | |
34 | #define wxDIALOG_DEFAULT_Y 300 | |
0e320a79 | 35 | |
0e320a79 | 36 | IMPLEMENT_CLASS(wxMessageDialog, wxDialog) |
0e320a79 DW |
37 | |
38 | wxMessageDialog::wxMessageDialog(wxWindow *parent, const wxString& message, const wxString& caption, | |
39 | long style, const wxPoint& pos) | |
40 | { | |
41 | m_caption = caption; | |
42 | m_message = message; | |
43 | m_dialogStyle = style; | |
44 | m_parent = parent; | |
45 | } | |
46 | ||
47 | int wxMessageDialog::ShowModal() | |
48 | { | |
49 | // TODO | |
50 | return wxID_CANCEL; | |
51 | } | |
52 |