]> git.saurik.com Git - wxWidgets.git/blob - include/wx/xrc/xh_choicbk.h
[ 1487463 ] XRC handler for wxOwnerDrawnComboBox.
[wxWidgets.git] / include / wx / xrc / xh_choicbk.h
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 #include "wx/xrc/xmlres.h"
13
14 #if wxUSE_CHOICEBOOK
15
16 class WXDLLEXPORT wxChoicebook;
17
18 class WXDLLIMPEXP_XRC wxChoicebookXmlHandler : public wxXmlResourceHandler
19 {
20 DECLARE_DYNAMIC_CLASS(wxChoicebookXmlHandler)
21 public:
22 wxChoicebookXmlHandler();
23 virtual wxObject *DoCreateResource();
24 virtual bool CanHandle(wxXmlNode *node);
25
26 private:
27 bool m_isInside;
28 wxChoicebook *m_choicebook;
29 };
30
31 #endif
32
33 #endif // _WX_XH_CHOICEBK_H_