| 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 WXCRAFTER_WX_XH_TOOLBK_H_ |
| 11 |
#define WXCRAFTER_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 MYwxToolbookXmlHandler : public wxXmlResourceHandler |
| 20 |
{ |
| 21 |
public: |
| 22 |
MYwxToolbookXmlHandler(); |
| 23 |
|
| 24 |
virtual wxObject* DoCreateResource(); |
| 25 |
virtual bool CanHandle(wxXmlNode* node); |
| 26 |
|
| 27 |
private: |
| 28 |
bool m_isInside; |
| 29 |
wxToolbook* m_toolbook; |
| 30 |
}; |
| 31 |
|
| 32 |
#endif // wxUSE_XRC && wxUSE_TOOLBOOK |
| 33 |
|
| 34 |
#endif // _WX_XH_TOOLBK_H_ |