]> git.saurik.com Git - wxWidgets.git/blob - include/wx/richtext/richtextdialogpage.h
Don't create multiple parent-less top level frames in layout sample.
[wxWidgets.git] / include / wx / richtext / richtextdialogpage.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/richtext/richtextdialogpage.h
3 // Purpose: Formatting dialog page base class for wxRTC
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 2010-11-14
7 // RCS-ID: $Id$
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows Licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_RICHTEXTDIALOGPAGE_H_
13 #define _WX_RICHTEXTDIALOGPAGE_H_
14
15 #if wxUSE_RICHTEXT
16
17 #include "wx/panel.h"
18 #include "wx/richtext/richtextuicustomization.h"
19
20 /**
21 @class wxRichTextDialogPage
22 The base class for formatting dialog pages.
23 **/
24
25 class WXDLLIMPEXP_RICHTEXT wxRichTextDialogPage: public wxPanel
26 {
27 public:
28 DECLARE_CLASS(wxRichTextDialogPage)
29 wxRichTextDialogPage() {}
30 wxRichTextDialogPage(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0)
31 {
32 Create(parent, id, pos, size, style);
33 }
34
35 DECLARE_BASE_CLASS_HELP_PROVISION()
36 };
37
38 #endif
39 // wxUSE_RICHTEXT
40
41 #endif
42 // _WX_RICHTEXTDIALOGPAGE_H_