]>
Commit | Line | Data |
---|---|---|
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 | ||
20 | class WXDLLEXPORT wxChoicebook; | |
21 | ||
22 | class WXDLLIMPEXP_XRC wxChoicebookXmlHandler : public wxXmlResourceHandler | |
23 | { | |
24 | DECLARE_DYNAMIC_CLASS(wxChoicebookXmlHandler) | |
25 | public: | |
26 | wxChoicebookXmlHandler(); | |
27 | virtual wxObject *DoCreateResource(); | |
28 | virtual bool CanHandle(wxXmlNode *node); | |
29 | ||
30 | private: | |
31 | bool m_isInside; | |
32 | wxChoicebook *m_choicebook; | |
33 | }; | |
34 | ||
35 | #endif | |
36 | ||
37 | #endif // _WX_XH_CHOICEBK_H_ |