More OS/2 stuff
[wxWidgets.git] / src / os2 / msgdlg.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: msgdlg.cpp
3 // Purpose: wxMessageDialog
4 // Author: David Webster
5 // Modified by:
6 // Created: 10/10/99
7 // RCS-ID: $$
8 // Copyright: (c) David Webster
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
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"
21 #endif
22
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
31
32 #if !USE_SHARED_LIBRARY
33 IMPLEMENT_CLASS(wxMessageDialog, wxDialog)
34 #endif
35
36 wxMessageDialog::wxMessageDialog(wxWindow *parent, const wxString& message, const wxString& caption,
37 long style, const wxPoint& pos)
38 {
39 m_caption = caption;
40 m_message = message;
41 m_dialogStyle = style;
42 m_parent = parent;
43 }
44
45 int wxMessageDialog::ShowModal()
46 {
47 // TODO
48 return wxID_CANCEL;
49 }
50