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
);
43 // not supported for message dialog, RR
44 virtual void DoSetSize(int x
, int y
,
45 int width
, int height
,
46 int sizeFlags
= wxSIZE_AUTO
) {}