]> git.saurik.com Git - wxWidgets.git/blame - include/wx/xrc/xh_toolbk.h
Enable access to the native bitmap object wrapped by wxGraphicsBitmap
[wxWidgets.git] / include / wx / xrc / xh_toolbk.h
CommitLineData
4689441b
VZ
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/xrc/xh_toolbk.h
3// Purpose: XML resource handler for wxToolbook
4// Author: Andrea Zanellato
5// Created: 2009/12/12
6// Copyright: (c) 2010 wxWidgets development team
7// Licence: wxWindows licence
8/////////////////////////////////////////////////////////////////////////////
9
10#ifndef _WX_XH_TOOLBK_H_
11#define _WX_XH_TOOLBK_H_
12
13#include "wx/xrc/xmlres.h"
14
15#if wxUSE_XRC && wxUSE_TOOLBOOK
16
17class WXDLLIMPEXP_FWD_CORE wxToolbook;
18
19class WXDLLIMPEXP_XRC wxToolbookXmlHandler : public wxXmlResourceHandler
20{
21public:
22 wxToolbookXmlHandler();
23
24 virtual wxObject *DoCreateResource();
25 virtual bool CanHandle(wxXmlNode *node);
26
27private:
28 bool m_isInside;
29 wxToolbook *m_toolbook;
30
31 wxDECLARE_DYNAMIC_CLASS(wxToolbookXmlHandler);
32};
33
34#endif // wxUSE_XRC && wxUSE_TOOLBOOK
35
36#endif // _WX_XH_TOOLBK_H_