]>
Commit | Line | Data |
---|---|---|
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 | ||
16 | #include "wx/stubs/msgdlg.h" | |
17 | ||
18 | #if !USE_SHARED_LIBRARY | |
19 | IMPLEMENT_CLASS(wxMessageDialog, wxDialog) | |
20 | #endif | |
21 | ||
22 | wxMessageDialog::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 | ||
31 | int wxMessageDialog::ShowModal() | |
32 | { | |
33 | // TODO | |
34 | return wxID_CANCEL; | |
35 | } | |
36 |