2003-04-22 16:25:50 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: xh_wizrd.h
|
|
|
|
// 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_
|
|
|
|
#define _WX_XH_WIZRDL_H_
|
|
|
|
|
2005-01-07 16:27:20 -05:00
|
|
|
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
|
2003-04-22 16:25:50 -04:00
|
|
|
#pragma interface "xh_wizrd.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "wx/xrc/xmlres.h"
|
|
|
|
|
|
|
|
#if wxUSE_WIZARDDLG
|
|
|
|
|
|
|
|
#include "wx/wizard.h"
|
|
|
|
|
2003-07-04 09:33:42 -04:00
|
|
|
class WXDLLIMPEXP_XRC wxWizardXmlHandler : public wxXmlResourceHandler
|
2003-04-22 16:25:50 -04:00
|
|
|
{
|
2003-06-12 14:10:38 -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;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif // _WX_XH_PANEL_H_
|