2010-10-23 14:56:28 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/xrc/xh_toolbk.h
|
|
|
|
// Purpose: XML resource handler for wxToolbook
|
|
|
|
// Author: Andrea Zanellato
|
|
|
|
// Created: 2009/12/12
|
|
|
|
// Copyright: (c) 2010 wxWidgets development team
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_XH_TOOLBK_H_
|
|
|
|
#define _WX_XH_TOOLBK_H_
|
|
|
|
|
|
|
|
#include "wx/xrc/xmlres.h"
|
|
|
|
|
|
|
|
#if wxUSE_XRC && wxUSE_TOOLBOOK
|
|
|
|
|
|
|
|
class WXDLLIMPEXP_FWD_CORE wxToolbook;
|
|
|
|
|
|
|
|
class WXDLLIMPEXP_XRC wxToolbookXmlHandler : public wxXmlResourceHandler
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
wxToolbookXmlHandler();
|
|
|
|
|
2015-09-06 20:20:42 -04:00
|
|
|
virtual wxObject *DoCreateResource() wxOVERRIDE;
|
|
|
|
virtual bool CanHandle(wxXmlNode *node) wxOVERRIDE;
|
2010-10-23 14:56:28 -04:00
|
|
|
|
|
|
|
private:
|
|
|
|
bool m_isInside;
|
|
|
|
wxToolbook *m_toolbook;
|
|
|
|
|
|
|
|
wxDECLARE_DYNAMIC_CLASS(wxToolbookXmlHandler);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // wxUSE_XRC && wxUSE_TOOLBOOK
|
|
|
|
|
|
|
|
#endif // _WX_XH_TOOLBK_H_
|