]> git.saurik.com Git - wxWidgets.git/blame - include/wx/motif/msgdlg.h
update mac gl, after rev 50900
[wxWidgets.git] / include / wx / motif / msgdlg.h
CommitLineData
9b6dbb09 1/////////////////////////////////////////////////////////////////////////////
e5b50758 2// Name: wx/motif/msgdlg.h
9b6dbb09
JS
3// Purpose: wxMessageDialog class. Use generic version if no
4// platform-specific implementation.
5// Author: Julian Smart
6// Modified by:
7// Created: 17/09/98
8// RCS-ID: $Id$
9// Copyright: (c) Julian Smart
65571936 10// Licence: wxWindows licence
9b6dbb09
JS
11/////////////////////////////////////////////////////////////////////////////
12
13#ifndef _WX_MSGBOXDLG_H_
14#define _WX_MSGBOXDLG_H_
15
ee31c392
VZ
16// ----------------------------------------------------------------------------
17// Message box dialog
18// ----------------------------------------------------------------------------
9b6dbb09 19
2afb9e16 20class WXDLLEXPORT wxMessageDialog : public wxMessageDialogBase
9b6dbb09 21{
ee31c392
VZ
22public:
23 wxMessageDialog(wxWindow *parent,
2afb9e16
VZ
24 const wxString& message,
25 const wxString& caption = wxMessageBoxCaptionStr,
26 long style = wxOK | wxCENTRE,
27 const wxPoint& WXUNUSED(pos) = wxDefaultPosition)
28 : wxMessageDialogBase(parent, message, caption, style)
29 {
30 }
e5b50758 31
2afb9e16 32 virtual int ShowModal();
e5b50758 33
ee31c392 34 // implementation only from now on
83df96d6 35 // called by the Motif callback
ee31c392 36 void SetResult(long result) { m_result = result; }
e5b50758 37
9b6dbb09 38protected:
ee31c392 39 long m_result;
2afb9e16
VZ
40
41 DECLARE_DYNAMIC_CLASS(wxMessageDialog)
9b6dbb09
JS
42};
43
2afb9e16 44#endif // _WX_MSGBOXDLG_H_