1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxMessageDialog class. Use generic version if no
4 // platform-specific implementation.
5 // Author: David Webster
9 // Copyright: (c) AUTHOR
10 // Licence: wxWindows licence
11 /////////////////////////////////////////////////////////////////////////////
13 #ifndef _WX_MSGBOXDLG_H_
14 #define _WX_MSGBOXDLG_H_
17 #include "wx/dialog.h"
23 WXDLLEXPORT_DATA(extern const char*) wxMessageBoxCaptionStr
;
25 class WXDLLEXPORT wxMessageDialog
: public wxDialog
27 DECLARE_DYNAMIC_CLASS(wxMessageDialog
)
34 wxMessageDialog(wxWindow
*parent
, const wxString
& message
, const wxString
& caption
= wxMessageBoxCaptionStr
,
35 long style
= wxOK
|wxCENTRE
, const wxPoint
& pos
= wxDefaultPosition
);
41 int WXDLLEXPORT
wxMessageBox(const wxString
& message
, const wxString
& caption
= wxMessageBoxCaptionStr
,
42 long style
= wxOK
|wxCENTRE
,
43 wxWindow
*parent
= NULL
, int x
= -1, int y
= -1);