1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxMessageDialog class
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_MSGBOXDLG_H_
13 #define _WX_MSGBOXDLG_H_
16 #pragma interface "msgdlg.h"
20 #include "wx/dialog.h"
26 WXDLLEXPORT_DATA(extern const wxChar
*) wxMessageBoxCaptionStr
;
28 class WXDLLEXPORT wxMessageDialog
: public wxDialog
30 DECLARE_DYNAMIC_CLASS(wxMessageDialog
)
37 wxMessageDialog(wxWindow
*parent
, const wxString
& message
, const wxString
& caption
= wxMessageBoxCaptionStr
,
38 long style
= wxOK
|wxCENTRE
, const wxPoint
& pos
= wxDefaultPosition
);
44 int WXDLLEXPORT
wxMessageBox(const wxString
& message
, const wxString
& caption
= wxMessageBoxCaptionStr
,
45 long style
= wxOK
|wxCENTRE
,
46 wxWindow
*parent
= NULL
, int x
= -1, int y
= -1);