1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/generic/richmsgdlgg.h
3 // Purpose: wxGenericRichMessageDialog
4 // Author: Rickard Westerlund
6 // Copyright: (c) 2010 wxWidgets team
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 #ifndef _WX_GENERIC_RICHMSGDLGG_H_
11 #define _WX_GENERIC_RICHMSGDLGG_H_
13 class WXDLLIMPEXP_FWD_CORE wxCheckBox
;
14 class WXDLLIMPEXP_FWD_CORE wxCollapsiblePane
;
15 class WXDLLIMPEXP_FWD_CORE wxCollapsiblePaneEvent
;
17 class WXDLLIMPEXP_CORE wxGenericRichMessageDialog
18 : public wxRichMessageDialogBase
21 wxGenericRichMessageDialog(wxWindow
*parent
,
22 const wxString
& message
,
23 const wxString
& caption
,
25 : wxRichMessageDialogBase( parent
, message
, caption
, style
),
30 virtual bool IsCheckBoxChecked() const;
33 wxCheckBox
*m_checkBox
;
34 wxCollapsiblePane
*m_detailsPane
;
36 // overrides methods in the base class
37 virtual void AddMessageDialogCheckBox(wxSizer
*sizer
);
38 virtual void AddMessageDialogDetails(wxSizer
*sizer
);
41 void OnPaneChanged(wxCollapsiblePaneEvent
& event
);
45 wxDECLARE_NO_COPY_CLASS(wxGenericRichMessageDialog
);
48 #endif // _WX_GENERIC_RICHMSGDLGG_H_