]> git.saurik.com Git - wxWidgets.git/blob - include/wx/xrc/xh_auinotbk.h
Richtext interface fixes and additions for Phoenix
[wxWidgets.git] / include / wx / xrc / xh_auinotbk.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/xrc/xh_auinotbk.h
3 // Purpose: XML resource handler for wxAuiNotebook
4 // Author: Steve Lamerton
5 // Created: 2009-06-12
6 // RCS-ID: $Id$
7 // Copyright: (c) 2009 Steve Lamerton
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
10
11 #ifndef _WX_XRC_XH_AUINOTEBOOK_H_
12 #define _WX_XRC_XH_AUINOTEBOOK_H_
13
14 #include "wx/xrc/xmlres.h"
15
16 class WXDLLIMPEXP_FWD_AUI wxAuiNotebook;
17
18 #if wxUSE_XRC && wxUSE_AUI
19
20 class WXDLLIMPEXP_AUI wxAuiNotebookXmlHandler : public wxXmlResourceHandler
21 {
22 public:
23 wxAuiNotebookXmlHandler();
24 virtual wxObject *DoCreateResource();
25 virtual bool CanHandle(wxXmlNode *node);
26
27 private:
28 bool m_isInside;
29 wxAuiNotebook *m_notebook;
30
31 wxDECLARE_DYNAMIC_CLASS(wxAuiNotebookXmlHandler);
32 };
33
34 #endif // wxUSE_XRC && wxUSE_AUI
35
36 #endif // _WX_XRC_XH_AUINOTEBOOK_H_