1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/motif/msgdlg.h
3 // Purpose: wxMessageDialog class. Use generic version if no
4 // platform-specific implementation.
5 // Author: Julian Smart
9 // Copyright: (c) Julian Smart
10 // Licence: wxWindows licence
11 /////////////////////////////////////////////////////////////////////////////
13 #ifndef _WX_MSGBOXDLG_H_
14 #define _WX_MSGBOXDLG_H_
17 #include "wx/dialog.h"
19 // ----------------------------------------------------------------------------
21 // ----------------------------------------------------------------------------
23 WXDLLEXPORT_DATA(extern const char*) wxMessageBoxCaptionStr
;
25 class WXDLLEXPORT wxMessageDialog
: public wxDialog
, public wxMessageDialogBase
27 DECLARE_DYNAMIC_CLASS(wxMessageDialog
)
30 wxMessageDialog(wxWindow
*parent
,
31 const wxString
& message
,
32 const wxString
& caption
= wxMessageBoxCaptionStr
,
33 long style
= wxOK
| wxCENTRE
,
34 const wxPoint
& pos
= wxDefaultPosition
);
38 // implementation only from now on
39 // called by the Motif callback
40 void SetResult(long result
) { m_result
= result
; }