2003-04-22 16:25:50 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2006-07-04 14:08:09 -04:00
|
|
|
// Name: wx/xrc/xh_wizrd.h
|
2003-04-22 16:25:50 -04:00
|
|
|
// Purpose: XML resource handler for wxWizard
|
|
|
|
// Author: Vaclav Slavik
|
|
|
|
// Created: 2003/03/02
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) 2000 Vaclav Slavik
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_XH_WIZRD_H_
|
2006-10-03 10:53:40 -04:00
|
|
|
#define _WX_XH_WIZRD_H_
|
2003-04-22 16:25:50 -04:00
|
|
|
|
|
|
|
#include "wx/xrc/xmlres.h"
|
|
|
|
|
2006-10-03 10:53:40 -04:00
|
|
|
#if wxUSE_XRC && wxUSE_WIZARDDLG
|
2003-04-22 16:25:50 -04:00
|
|
|
|
2007-07-09 06:09:52 -04:00
|
|
|
class WXDLLIMPEXP_FWD_CORE wxWizard;
|
|
|
|
class WXDLLIMPEXP_FWD_CORE wxWizardPageSimple;
|
2003-04-22 16:25:50 -04:00
|
|
|
|
2003-07-04 09:33:42 -04:00
|
|
|
class WXDLLIMPEXP_XRC wxWizardXmlHandler : public wxXmlResourceHandler
|
2003-04-22 16:25:50 -04:00
|
|
|
{
|
2006-10-03 10:53:40 -04:00
|
|
|
DECLARE_DYNAMIC_CLASS(wxWizardXmlHandler)
|
|
|
|
|
2003-04-22 16:25:50 -04:00
|
|
|
public:
|
|
|
|
wxWizardXmlHandler();
|
|
|
|
virtual wxObject *DoCreateResource();
|
|
|
|
virtual bool CanHandle(wxXmlNode *node);
|
|
|
|
|
|
|
|
private:
|
|
|
|
wxWizard *m_wizard;
|
|
|
|
wxWizardPageSimple *m_lastSimplePage;
|
|
|
|
};
|
|
|
|
|
2006-10-03 10:53:40 -04:00
|
|
|
#endif // wxUSE_XRC && wxUSE_WIZARDDLG
|
2003-04-22 16:25:50 -04:00
|
|
|
|
2006-10-03 10:53:40 -04:00
|
|
|
#endif // _WX_XH_WIZRD_H_
|