]> git.saurik.com Git - wxWidgets.git/blame - src/os2/msgdlg.cpp
Minor tweek for WXPM
[wxWidgets.git] / src / os2 / msgdlg.cpp
CommitLineData
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
DW
31
32#if !USE_SHARED_LIBRARY
33IMPLEMENT_CLASS(wxMessageDialog, wxDialog)
34#endif
35
36wxMessageDialog::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
45int wxMessageDialog::ShowModal()
46{
47 // TODO
48 return wxID_CANCEL;
49}
50