1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxMessageDialog class. Use generic version if no
4 // platform-specific implementation.
9 // Copyright: (c) AUTHOR
10 // Licence: wxWindows licence
11 /////////////////////////////////////////////////////////////////////////////
13 #ifndef _WX_MSGBOXDLG_H_
14 #define _WX_MSGBOXDLG_H_
17 #pragma interface "msgdlg.h"
21 #include "wx/dialog.h"
27 WXDLLEXPORT_DATA(extern const char*) wxMessageBoxCaptionStr
;
29 class WXDLLEXPORT wxMessageDialog
: public wxDialog
31 DECLARE_DYNAMIC_CLASS(wxMessageDialog
)
38 wxMessageDialog(wxWindow
*parent
, const wxString
& message
, const wxString
& caption
= wxMessageBoxCaptionStr
,
39 long style
= wxOK
|wxCENTRE
, const wxPoint
& pos
= wxDefaultPosition
);
45 int WXDLLEXPORT
wxMessageBox(const wxString
& message
, const wxString
& caption
= wxMessageBoxCaptionStr
,
46 long style
= wxOK
|wxCENTRE
,
47 wxWindow
*parent
= NULL
, int x
= -1, int y
= -1);