]> git.saurik.com Git - wxWidgets.git/blame - include/wx/xrc/xh_listbk.h
we need our own imaglist implementation because in wxmac wxIcon does not inherit...
[wxWidgets.git] / include / wx / xrc / xh_listbk.h
CommitLineData
9aaf1192
WS
1/////////////////////////////////////////////////////////////////////////////
2// Name: xh_listbk.h
3// Purpose: XML resource handler for wxListbook
4// Author: Vaclav Slavik
5// Copyright: (c) 2000 Vaclav Slavik
6// Licence: wxWindows licence
7/////////////////////////////////////////////////////////////////////////////
8
9#ifndef _WX_XH_LISTBK_H_
10#define _WX_XH_LISTBK_H_
11
12#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
13#pragma interface "xh_listbk.h"
14#endif
15
16#include "wx/xrc/xmlres.h"
17
18#if wxUSE_LISTBOOK
19
20class WXDLLEXPORT wxListbook;
21
22class WXDLLIMPEXP_XRC wxListbookXmlHandler : public wxXmlResourceHandler
23{
24DECLARE_DYNAMIC_CLASS(wxListbookXmlHandler)
25public:
26 wxListbookXmlHandler();
27 virtual wxObject *DoCreateResource();
28 virtual bool CanHandle(wxXmlNode *node);
29
30private:
31 bool m_isInside;
32 wxListbook *m_listbook;
33};
34
35#endif
36
37#endif // _WX_XH_LISTBK_H_