]> git.saurik.com Git - wxWidgets.git/blob - include/wx/generic/richmsgdlgg.h
Revert the zoom direction on Ctrl-mouse wheel in wxStyledTextCtrl.
[wxWidgets.git] / include / wx / generic / richmsgdlgg.h
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
14 class WXDLLIMPEXP_FWD_CORE wxCheckBox;
15 class WXDLLIMPEXP_FWD_CORE wxCollapsiblePane;
16 class WXDLLIMPEXP_FWD_CORE wxCollapsiblePaneEvent;
17
18 class WXDLLIMPEXP_CORE wxGenericRichMessageDialog
19 : public wxRichMessageDialogBase
20 {
21 public:
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
31 virtual bool IsCheckBoxChecked() const;
32
33 protected:
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
41 private:
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_