1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxMessageDialog class. Use generic version if no
4 // platform-specific implementation.
5 // Author: Stefan Csomor
9 // Copyright: (c) Stefan Csomor
10 // Licence: wxWindows licence
11 /////////////////////////////////////////////////////////////////////////////
13 #ifndef _WX_MSGBOXDLG_H_
14 #define _WX_MSGBOXDLG_H_
16 #if defined(__GNUG__) && !defined(__APPLE__)
17 #pragma interface "msgdlg.h"
21 #include "wx/dialog.h"
27 WXDLLEXPORT_DATA(extern const wxChar
*) wxMessageBoxCaptionStr
;
29 class WXDLLEXPORT wxMessageDialog
: public wxDialog
31 DECLARE_DYNAMIC_CLASS(wxMessageDialog
)
39 wxMessageDialog(wxWindow
*parent
,
40 const wxString
& message
,
41 const wxString
& caption
= wxMessageBoxCaptionStr
,
42 long style
= wxOK
|wxCENTRE
,
43 const wxPoint
& pos
= wxDefaultPosition
);
47 // not supported for message dialog, RR
48 virtual void DoSetSize(int WXUNUSED(x
), int WXUNUSED(y
),
49 int WXUNUSED(width
), int WXUNUSED(height
),
50 int WXUNUSED(sizeFlags
) = wxSIZE_AUTO
) {}