]> git.saurik.com Git - wxWidgets.git/blob - include/wx/xrc/xh_toolbk.h
Add support for VK_OEM_102 key under wxMSW.
[wxWidgets.git] / include / wx / xrc / xh_toolbk.h
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
17 class WXDLLIMPEXP_FWD_CORE wxToolbook;
18
19 class WXDLLIMPEXP_XRC wxToolbookXmlHandler : public wxXmlResourceHandler
20 {
21 public:
22 wxToolbookXmlHandler();
23
24 virtual wxObject *DoCreateResource();
25 virtual bool CanHandle(wxXmlNode *node);
26
27 private:
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_