]>
Commit | Line | Data |
---|---|---|
1 | ///////////////////////////////////////////////////////////////////////////// | |
2 | // Name: wx/xrc/xh_wizrd.h | |
3 | // Purpose: XML resource handler for wxWizard | |
4 | // Author: Vaclav Slavik | |
5 | // Created: 2003/03/02 | |
6 | // Copyright: (c) 2000 Vaclav Slavik | |
7 | // Licence: wxWindows licence | |
8 | ///////////////////////////////////////////////////////////////////////////// | |
9 | ||
10 | #ifndef _WX_XH_WIZRD_H_ | |
11 | #define _WX_XH_WIZRD_H_ | |
12 | ||
13 | #include "wx/xrc/xmlres.h" | |
14 | ||
15 | #if wxUSE_XRC && wxUSE_WIZARDDLG | |
16 | ||
17 | class WXDLLIMPEXP_FWD_ADV wxWizard; | |
18 | class WXDLLIMPEXP_FWD_ADV wxWizardPageSimple; | |
19 | ||
20 | class WXDLLIMPEXP_XRC wxWizardXmlHandler : public wxXmlResourceHandler | |
21 | { | |
22 | DECLARE_DYNAMIC_CLASS(wxWizardXmlHandler) | |
23 | ||
24 | public: | |
25 | wxWizardXmlHandler(); | |
26 | virtual wxObject *DoCreateResource(); | |
27 | virtual bool CanHandle(wxXmlNode *node); | |
28 | ||
29 | private: | |
30 | wxWizard *m_wizard; | |
31 | wxWizardPageSimple *m_lastSimplePage; | |
32 | }; | |
33 | ||
34 | #endif // wxUSE_XRC && wxUSE_WIZARDDLG | |
35 | ||
36 | #endif // _WX_XH_WIZRD_H_ |