]> git.saurik.com Git - wxWidgets.git/blame - src/motif/msgdlg.cpp
Some stubs includes removed from wxMotif; wxNotebook sample hack to make it display;
[wxWidgets.git] / src / motif / msgdlg.cpp
CommitLineData
4bb6408c
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: msgdlg.cpp
3// Purpose: wxMessageDialog
4// Author: Julian Smart
5// Modified by:
6// Created: 04/01/98
7// RCS-ID: $$
8// Copyright: (c) Julian Smart
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifdef __GNUG__
13#pragma implementation "msgdlg.h"
14#endif
15
5dcf05ae 16#include "wx/motif/msgdlg.h"
4bb6408c
JS
17
18#if !USE_SHARED_LIBRARY
19IMPLEMENT_CLASS(wxMessageDialog, wxDialog)
20#endif
21
22wxMessageDialog::wxMessageDialog(wxWindow *parent, const wxString& message, const wxString& caption,
23 long style, const wxPoint& pos)
24{
25 m_caption = caption;
26 m_message = message;
27 m_dialogStyle = style;
28 m_parent = parent;
29}
30
31int wxMessageDialog::ShowModal()
32{
33 // TODO
34 return wxID_CANCEL;
35}
36