1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxMessageDialog class
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart and Markus Holzem
9 // Licence: wxWindows license
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef __MSGBOXDLGH__
13 #define __MSGBOXDLGH__
16 #pragma interface "msgdlg.h"
20 #include "wx/dialog.h"
26 WXDLLEXPORT_DATA(extern const char*) 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);