]> git.saurik.com Git - wxWidgets.git/blob - include/wx/xrc/xh_auinotbk.h
Don't define __STRICT_ANSI__, we should build both with and without it.
[wxWidgets.git] / include / wx / xrc / xh_auinotbk.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/xrc/xh_auinotbk.h
3 // Purpose: XML resource handler for wxAuiNotebook
4 // Author: Steve Lamerton
5 // Created: 2009-06-12
6 // Copyright: (c) 2009 Steve Lamerton
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 #ifndef _WX_XRC_XH_AUINOTEBOOK_H_
11 #define _WX_XRC_XH_AUINOTEBOOK_H_
12
13 #include "wx/xrc/xmlres.h"
14
15 class WXDLLIMPEXP_FWD_AUI wxAuiNotebook;
16
17 #if wxUSE_XRC && wxUSE_AUI
18
19 class WXDLLIMPEXP_AUI wxAuiNotebookXmlHandler : public wxXmlResourceHandler
20 {
21 public:
22 wxAuiNotebookXmlHandler();
23 virtual wxObject *DoCreateResource();
24 virtual bool CanHandle(wxXmlNode *node);
25
26 private:
27 bool m_isInside;
28 wxAuiNotebook *m_notebook;
29
30 wxDECLARE_DYNAMIC_CLASS(wxAuiNotebookXmlHandler);
31 };
32
33 #endif // wxUSE_XRC && wxUSE_AUI
34
35 #endif // _WX_XRC_XH_AUINOTEBOOK_H_