]> git.saurik.com Git - wxWidgets.git/blob - src/os2/msgdlg.cpp
bug fixes for '\r' handling in wxTextFile::Translate()
[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 IMPLEMENT_CLASS(wxMessageDialog, wxDialog)
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