]> git.saurik.com Git - wxWidgets.git/blame - include/wx/generic/richmsgdlgg.h
Applied rowspan patch #15276 (dghart)
[wxWidgets.git] / include / wx / generic / richmsgdlgg.h
CommitLineData
a1bdd4ab
VZ
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/generic/richmsgdlgg.h
3// Purpose: wxGenericRichMessageDialog
4// Author: Rickard Westerlund
5// Created: 2010-07-04
6// RCS-ID: $Id$
7// Copyright: (c) 2010 wxWidgets team
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
11#ifndef _WX_GENERIC_RICHMSGDLGG_H_
12#define _WX_GENERIC_RICHMSGDLGG_H_
13
14class WXDLLIMPEXP_FWD_CORE wxCheckBox;
15class WXDLLIMPEXP_FWD_CORE wxCollapsiblePane;
16class WXDLLIMPEXP_FWD_CORE wxCollapsiblePaneEvent;
17
18class WXDLLIMPEXP_CORE wxGenericRichMessageDialog
19 : public wxRichMessageDialogBase
20{
21public:
22 wxGenericRichMessageDialog(wxWindow *parent,
23 const wxString& message,
24 const wxString& caption,
25 long style)
26 : wxRichMessageDialogBase( parent, message, caption, style ),
27 m_checkBox(NULL),
28 m_detailsPane(NULL)
29 { }
30
d482d5e4 31 virtual bool IsCheckBoxChecked() const;
a1bdd4ab
VZ
32
33protected:
34 wxCheckBox *m_checkBox;
35 wxCollapsiblePane *m_detailsPane;
36
37 // overrides methods in the base class
38 virtual void AddMessageDialogCheckBox(wxSizer *sizer);
39 virtual void AddMessageDialogDetails(wxSizer *sizer);
40
41private:
42 void OnPaneChanged(wxCollapsiblePaneEvent& event);
43
44 DECLARE_EVENT_TABLE()
45
46 wxDECLARE_NO_COPY_CLASS(wxGenericRichMessageDialog);
47};
48
49#endif // _WX_GENERIC_RICHMSGDLGG_H_