]> git.saurik.com Git - wxWidgets.git/blame - include/wx/xrc/xh_choicbk.h
wxUSE_CRASHREPORT requires wxUSE_ON_FATAL_EXCEPTION
[wxWidgets.git] / include / wx / xrc / xh_choicbk.h
CommitLineData
9aaf1192
WS
1/////////////////////////////////////////////////////////////////////////////
2// Name: xh_choicbk.h
3// Purpose: XML resource handler for wxChoicebook
4// Author: Vaclav Slavik
5// Copyright: (c) 2000 Vaclav Slavik
6// Licence: wxWindows licence
7/////////////////////////////////////////////////////////////////////////////
8
9#ifndef _WX_XH_CHOICEBK_H_
10#define _WX_XH_CHOICEBK_H_
11
12#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
13#pragma interface "xh_choicbk.h"
14#endif
15
16#include "wx/xrc/xmlres.h"
17
18#if wxUSE_CHOICEBOOK
19
20class WXDLLEXPORT wxChoicebook;
21
22class WXDLLIMPEXP_XRC wxChoicebookXmlHandler : public wxXmlResourceHandler
23{
24DECLARE_DYNAMIC_CLASS(wxChoicebookXmlHandler)
25public:
26 wxChoicebookXmlHandler();
27 virtual wxObject *DoCreateResource();
28 virtual bool CanHandle(wxXmlNode *node);
29
30private:
31 bool m_isInside;
32 wxChoicebook *m_choicebook;
33};
34
35#endif
36
37#endif // _WX_XH_CHOICEBK_H_