]> git.saurik.com Git - wxWidgets.git/blob - include/wx/xrc/xh_listbk.h
GTK+ callbacks must have C linkage (patch 1157384)
[wxWidgets.git] / include / wx / xrc / xh_listbk.h
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
20 class WXDLLEXPORT wxListbook;
21
22 class WXDLLIMPEXP_XRC wxListbookXmlHandler : public wxXmlResourceHandler
23 {
24 DECLARE_DYNAMIC_CLASS(wxListbookXmlHandler)
25 public:
26 wxListbookXmlHandler();
27 virtual wxObject *DoCreateResource();
28 virtual bool CanHandle(wxXmlNode *node);
29
30 private:
31 bool m_isInside;
32 wxListbook *m_listbook;
33 };
34
35 #endif
36
37 #endif // _WX_XH_LISTBK_H_