]> git.saurik.com Git - wxWidgets.git/blame - include/wx/xrc/xh_choicbk.h
fix bug in Eof() which returned true even if we were only on the last line, not beyond it
[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
9aaf1192
WS
12#include "wx/xrc/xmlres.h"
13
14#if wxUSE_CHOICEBOOK
15
16class WXDLLEXPORT wxChoicebook;
17
18class WXDLLIMPEXP_XRC wxChoicebookXmlHandler : public wxXmlResourceHandler
19{
20DECLARE_DYNAMIC_CLASS(wxChoicebookXmlHandler)
21public:
22 wxChoicebookXmlHandler();
23 virtual wxObject *DoCreateResource();
24 virtual bool CanHandle(wxXmlNode *node);
25
26private:
27 bool m_isInside;
28 wxChoicebook *m_choicebook;
29};
30
31#endif
32
33#endif // _WX_XH_CHOICEBK_H_