1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/generic/richmsgdlgg.h
3 // Purpose: wxGenericRichMessageDialog
4 // Author: Rickard Westerlund
7 // Copyright: (c) 2010 wxWidgets team
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_GENERIC_RICHMSGDLGG_H_
12 #define _WX_GENERIC_RICHMSGDLGG_H_
14 class WXDLLIMPEXP_FWD_CORE wxCheckBox
;
15 class WXDLLIMPEXP_FWD_CORE wxCollapsiblePane
;
16 class WXDLLIMPEXP_FWD_CORE wxCollapsiblePaneEvent
;
18 class WXDLLIMPEXP_CORE wxGenericRichMessageDialog
19 : public wxRichMessageDialogBase
22 wxGenericRichMessageDialog(wxWindow
*parent
,
23 const wxString
& message
,
24 const wxString
& caption
,
26 : wxRichMessageDialogBase( parent
, message
, caption
, style
),
31 virtual bool IsCheckBoxChecked() const;
34 wxCheckBox
*m_checkBox
;
35 wxCollapsiblePane
*m_detailsPane
;
37 // overrides methods in the base class
38 virtual void AddMessageDialogCheckBox(wxSizer
*sizer
);
39 virtual void AddMessageDialogDetails(wxSizer
*sizer
);
42 void OnPaneChanged(wxCollapsiblePaneEvent
& event
);
46 wxDECLARE_NO_COPY_CLASS(wxGenericRichMessageDialog
);
49 #endif // _WX_GENERIC_RICHMSGDLGG_H_