]> git.saurik.com Git - wxWidgets.git/blob - src/stubs/msgdlg.cpp
Toplevel windows now send both activate and focus
[wxWidgets.git] / src / stubs / msgdlg.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: msgdlg.cpp
3 // Purpose: wxMessageDialog
4 // Author: AUTHOR
5 // Modified by:
6 // Created: 04/01/98
7 // RCS-ID: $$
8 // Copyright: (c) AUTHOR
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifdef __GNUG__
13 #pragma implementation "msgdlg.h"
14 #endif
15
16 #include "wx/stubs/msgdlg.h"
17
18 IMPLEMENT_CLASS(wxMessageDialog, wxDialog)
19
20 wxMessageDialog::wxMessageDialog(wxWindow *parent, const wxString& message, const wxString& caption,
21 long style, const wxPoint& pos)
22 {
23 m_caption = caption;
24 m_message = message;
25 m_dialogStyle = style;
26 m_parent = parent;
27 }
28
29 int wxMessageDialog::ShowModal()
30 {
31 // TODO
32 return wxID_CANCEL;
33 }
34