1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/xrc/xh_toolbk.h
3 // Purpose: XML resource handler for wxToolbook
4 // Author: Andrea Zanellato
6 // Copyright: (c) 2010 wxWidgets development team
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 #ifndef _WX_XH_TOOLBK_H_
11 #define _WX_XH_TOOLBK_H_
13 #include "wx/xrc/xmlres.h"
15 #if wxUSE_XRC && wxUSE_TOOLBOOK
17 class WXDLLIMPEXP_FWD_CORE wxToolbook
;
19 class WXDLLIMPEXP_XRC wxToolbookXmlHandler
: public wxXmlResourceHandler
22 wxToolbookXmlHandler();
24 virtual wxObject
*DoCreateResource();
25 virtual bool CanHandle(wxXmlNode
*node
);
29 wxToolbook
*m_toolbook
;
31 wxDECLARE_DYNAMIC_CLASS(wxToolbookXmlHandler
);
34 #endif // wxUSE_XRC && wxUSE_TOOLBOOK
36 #endif // _WX_XH_TOOLBK_H_