1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/xrc/xh_auinotbk.h
3 // Purpose: XML resource handler for wxAuiNotebook
4 // Author: Steve Lamerton
6 // Copyright: (c) 2009 Steve Lamerton
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 #ifndef _WX_XRC_XH_AUINOTEBOOK_H_
11 #define _WX_XRC_XH_AUINOTEBOOK_H_
13 #include "wx/xrc/xmlres.h"
15 class WXDLLIMPEXP_FWD_AUI wxAuiNotebook
;
17 #if wxUSE_XRC && wxUSE_AUI
19 class WXDLLIMPEXP_AUI wxAuiNotebookXmlHandler
: public wxXmlResourceHandler
22 wxAuiNotebookXmlHandler();
23 virtual wxObject
*DoCreateResource();
24 virtual bool CanHandle(wxXmlNode
*node
);
28 wxAuiNotebook
*m_notebook
;
30 wxDECLARE_DYNAMIC_CLASS(wxAuiNotebookXmlHandler
);
33 #endif // wxUSE_XRC && wxUSE_AUI
35 #endif // _WX_XRC_XH_AUINOTEBOOK_H_