]> git.saurik.com Git - wxWidgets.git/blob - src/os2/msgdlg.cpp
long -> wxCoord
[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 #ifdef __GNUG__
13 #pragma implementation "msgdlg.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/msgdlg.h"
25 #endif
26
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
35
36 IMPLEMENT_CLASS(wxMessageDialog, wxDialog)
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