Debian Codegraph @

wxcrafter/xrc_handlers/myxh_auibook.h

raw
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/xrc/xh_notbk.h
3 // Purpose: XML resource handler for wxNotebook
4 // Author: Vaclav Slavik
5 // RCS-ID: $Id$
6 // Copyright: (c) 2000 Vaclav Slavik
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 #ifndef MY_WX_XH_NOTBK_H_
11 #define MY_WX_XH_NOTBK_H_
12
13 #include <wx/xrc/xmlres.h>
14
15 class wxAuiNotebook;
16
17 class MyWxAuiNotebookXmlHandler : public wxXmlResourceHandler
18 {
19 public:
20 MyWxAuiNotebookXmlHandler();
21 virtual wxObject* DoCreateResource();
22 virtual bool CanHandle(wxXmlNode* node);
23
24 private:
25 bool m_isInside;
26 wxAuiNotebook* m_notebook;
27 };
28
29 #endif // wxUSE_XRC && wxUSE_NOTEBOOK