]>
Commit | Line | Data |
---|---|---|
e5db28fd | 1 | ///////////////////////////////////////////////////////////////////////////// |
e8a793f0 | 2 | // Name: wx/xrc/xh_wizrd.h |
e5db28fd VS |
3 | // Purpose: XML resource handler for wxWizard |
4 | // Author: Vaclav Slavik | |
5 | // Created: 2003/03/02 | |
e5db28fd VS |
6 | // Copyright: (c) 2000 Vaclav Slavik |
7 | // Licence: wxWindows licence | |
8 | ///////////////////////////////////////////////////////////////////////////// | |
9 | ||
10 | #ifndef _WX_XH_WIZRD_H_ | |
dd47af27 | 11 | #define _WX_XH_WIZRD_H_ |
e5db28fd | 12 | |
e5db28fd VS |
13 | #include "wx/xrc/xmlres.h" |
14 | ||
dd47af27 | 15 | #if wxUSE_XRC && wxUSE_WIZARDDLG |
e5db28fd | 16 | |
4f7d425f VZ |
17 | class WXDLLIMPEXP_FWD_ADV wxWizard; |
18 | class WXDLLIMPEXP_FWD_ADV wxWizardPageSimple; | |
e5db28fd | 19 | |
30dc3455 | 20 | class WXDLLIMPEXP_XRC wxWizardXmlHandler : public wxXmlResourceHandler |
e5db28fd | 21 | { |
dd47af27 VZ |
22 | DECLARE_DYNAMIC_CLASS(wxWizardXmlHandler) |
23 | ||
e5db28fd VS |
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 | ||
dd47af27 | 34 | #endif // wxUSE_XRC && wxUSE_WIZARDDLG |
e5db28fd | 35 | |
dd47af27 | 36 | #endif // _WX_XH_WIZRD_H_ |