]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/motif/msgdlg.h
Fix wrong tab order in wxAuiNotebook after dragging.
[wxWidgets.git] / include / wx / motif / msgdlg.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/motif/msgdlg.h
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
10// Licence: wxWindows licence
11/////////////////////////////////////////////////////////////////////////////
12
13#ifndef _WX_MSGBOXDLG_H_
14#define _WX_MSGBOXDLG_H_
15
16// ----------------------------------------------------------------------------
17// Message box dialog
18// ----------------------------------------------------------------------------
19
20class WXDLLIMPEXP_CORE wxMessageDialog : public wxMessageDialogBase
21{
22public:
23 wxMessageDialog(wxWindow *parent,
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 }
31
32 virtual int ShowModal();
33
34 // implementation only from now on
35 // called by the Motif callback
36 void SetResult(long result) { m_result = result; }
37
38protected:
39 long m_result;
40
41 DECLARE_DYNAMIC_CLASS(wxMessageDialog)
42};
43
44#endif // _WX_MSGBOXDLG_H_