]>
git.saurik.com Git - wxWidgets.git/blob - src/os2/msgdlg.cpp
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxMessageDialog
4 // Author: David Webster
8 // Copyright: (c) David Webster
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 // For compilers that support precompilation, includes "wx.h".
13 #include "wx/wxprec.h"
19 #include "wx/dialog.h"
20 #include "wx/msgdlg.h"
23 #include "wx/os2/private.h"
29 #define wxDIALOG_DEFAULT_X 300
30 #define wxDIALOG_DEFAULT_Y 300
32 #if !USE_SHARED_LIBRARY
33 IMPLEMENT_CLASS(wxMessageDialog
, wxDialog
)
36 wxMessageDialog::wxMessageDialog(wxWindow
*parent
, const wxString
& message
, const wxString
& caption
,
37 long style
, const wxPoint
& pos
)
41 m_dialogStyle
= style
;
45 int wxMessageDialog::ShowModal()