]> git.saurik.com Git - wxWidgets.git/blame - include/wx/motif/msgdlg.h
wxRTC: fixed guidelines overwriting adjacent cell borders; corrected capitalisation...
[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
9b6dbb09 8// Copyright: (c) Julian Smart
65571936 9// Licence: wxWindows licence
9b6dbb09
JS
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_MSGBOXDLG_H_
13#define _WX_MSGBOXDLG_H_
14
ee31c392
VZ
15// ----------------------------------------------------------------------------
16// Message box dialog
17// ----------------------------------------------------------------------------
9b6dbb09 18
53a2db12 19class WXDLLIMPEXP_CORE wxMessageDialog : public wxMessageDialogBase
9b6dbb09 20{
ee31c392
VZ
21public:
22 wxMessageDialog(wxWindow *parent,
2afb9e16
VZ
23 const wxString& message,
24 const wxString& caption = wxMessageBoxCaptionStr,
25 long style = wxOK | wxCENTRE,
26 const wxPoint& WXUNUSED(pos) = wxDefaultPosition)
27 : wxMessageDialogBase(parent, message, caption, style)
28 {
29 }
e5b50758 30
2afb9e16 31 virtual int ShowModal();
e5b50758 32
ee31c392 33 // implementation only from now on
83df96d6 34 // called by the Motif callback
ee31c392 35 void SetResult(long result) { m_result = result; }
e5b50758 36
9b6dbb09 37protected:
ee31c392 38 long m_result;
2afb9e16
VZ
39
40 DECLARE_DYNAMIC_CLASS(wxMessageDialog)
9b6dbb09
JS
41};
42
2afb9e16 43#endif // _WX_MSGBOXDLG_H_