]>
Commit | Line | Data |
---|---|---|
912c3932 VZ |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: wx/xrc/xh_collpane.h | |
3 | // Purpose: XML resource handler for wxCollapsiblePane | |
4 | // Author: Francesco Montorsi | |
5 | // Created: 2006-10-27 | |
912c3932 VZ |
6 | // Copyright: (c) 2006 Francesco Montorsi |
7 | // Licence: wxWindows licence | |
8 | ///////////////////////////////////////////////////////////////////////////// | |
9 | ||
10 | #ifndef _WX_XH_COLLPANE_H_ | |
11 | #define _WX_XH_COLLPANE_H_ | |
12 | ||
13 | #include "wx/xrc/xmlres.h" | |
14 | ||
15 | #if wxUSE_XRC && wxUSE_COLLPANE | |
16 | ||
163b3ad7 | 17 | class WXDLLIMPEXP_FWD_CORE wxCollapsiblePane; |
912c3932 VZ |
18 | |
19 | class WXDLLIMPEXP_XRC wxCollapsiblePaneXmlHandler : public wxXmlResourceHandler | |
20 | { | |
912c3932 VZ |
21 | public: |
22 | wxCollapsiblePaneXmlHandler(); | |
23 | virtual wxObject *DoCreateResource(); | |
24 | virtual bool CanHandle(wxXmlNode *node); | |
25 | ||
26 | private: | |
27 | bool m_isInside; | |
28 | wxCollapsiblePane *m_collpane; | |
d34ad9ea VZ |
29 | |
30 | DECLARE_DYNAMIC_CLASS(wxCollapsiblePaneXmlHandler) | |
912c3932 VZ |
31 | }; |
32 | ||
33 | #endif // wxUSE_XRC && wxUSE_COLLPANE | |
34 | ||
35 | #endif // _WX_XH_COLLPANE_H_ |