2000-07-25 18:47:21 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2006-07-04 18:08:09 +00:00
|
|
|
// Name: wx/xrc/xh_notbk.h
|
2000-07-25 18:47:21 +00:00
|
|
|
// Purpose: XML resource handler for wxNotebook
|
|
|
|
// Author: Vaclav Slavik
|
|
|
|
// Copyright: (c) 2000 Vaclav Slavik
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_XH_NOTBK_H_
|
|
|
|
#define _WX_XH_NOTBK_H_
|
|
|
|
|
2001-06-09 22:18:45 +00:00
|
|
|
#include "wx/xrc/xmlres.h"
|
2000-07-25 18:47:21 +00:00
|
|
|
|
2006-10-03 14:53:40 +00:00
|
|
|
#if wxUSE_XRC && wxUSE_NOTEBOOK
|
2000-07-25 18:47:21 +00:00
|
|
|
|
2007-07-09 10:09:52 +00:00
|
|
|
class WXDLLIMPEXP_FWD_CORE wxNotebook;
|
2000-07-25 18:47:21 +00:00
|
|
|
|
2003-07-04 13:33:42 +00:00
|
|
|
class WXDLLIMPEXP_XRC wxNotebookXmlHandler : public wxXmlResourceHandler
|
2000-07-25 18:47:21 +00:00
|
|
|
{
|
2015-04-23 11:49:01 +00:00
|
|
|
wxDECLARE_DYNAMIC_CLASS(wxNotebookXmlHandler);
|
2006-10-03 14:53:40 +00:00
|
|
|
|
2001-05-02 23:01:00 +00:00
|
|
|
public:
|
|
|
|
wxNotebookXmlHandler();
|
2015-09-07 00:20:42 +00:00
|
|
|
virtual wxObject *DoCreateResource() wxOVERRIDE;
|
|
|
|
virtual bool CanHandle(wxXmlNode *node) wxOVERRIDE;
|
2001-05-02 23:01:00 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
bool m_isInside;
|
|
|
|
wxNotebook *m_notebook;
|
2000-07-25 18:47:21 +00:00
|
|
|
};
|
|
|
|
|
2006-10-03 14:53:40 +00:00
|
|
|
#endif // wxUSE_XRC && wxUSE_NOTEBOOK
|
2000-07-25 18:47:21 +00:00
|
|
|
|
|
|
|
#endif // _WX_XH_NOTBK_H_
|