wxcrafter/xrc_handlers/myxh_simplebook.h
raw| 1 | #ifndef _WX_XH_SIMPLEBOOK_H |
| 2 | #define _WX_XH_SIMPLEBOOK_H |
| 3 | |
| 4 | #include <wx/xrc/xmlres.h> |
| 5 | |
| 6 | class wxSimplebook; |
| 7 | |
| 8 | class MyWxSimplebookXmlHandler : public wxXmlResourceHandler |
| 9 | { |
| 10 | public: |
| 11 | MyWxSimplebookXmlHandler(); |
| 12 | virtual wxObject* DoCreateResource(); |
| 13 | virtual bool CanHandle(wxXmlNode* node); |
| 14 | |
| 15 | private: |
| 16 | bool m_isInside; |
| 17 | wxSimplebook* m_notebook; |
| 18 | }; |
| 19 | |
| 20 | #endif //_WX_XH_SIMPLEBOOK_H |