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
)
29 wxMessageDialog( wxWindow
* pParent
30 ,const wxString
& rsMessage
31 ,const wxString
& rsCaption
= wxMessageBoxCaptionStr
32 ,long lStyle
= wxOK
|wxCENTRE
33 ,const wxPoint
& rPos
= wxDefaultPosition
43 }; // end of CLASS wxMessageDialog
46 int WXDLLEXPORT
wxMessageBox( const wxString
& rsMessage
47 ,const wxString
& rsCaption
= wxMessageBoxCaptionStr
48 ,long lStyle
= wxOK
|wxCENTRE
49 ,wxWindow
* pParent
= NULL