2005-02-28 13:46:49 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2006-07-04 14:08:09 -04:00
|
|
|
// Name: wx/xrc/xh_listbk.h
|
2005-02-28 13:46:49 -05:00
|
|
|
// Purpose: XML resource handler for wxListbook
|
|
|
|
// Author: Vaclav Slavik
|
|
|
|
// Copyright: (c) 2000 Vaclav Slavik
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_XH_LISTBK_H_
|
|
|
|
#define _WX_XH_LISTBK_H_
|
|
|
|
|
|
|
|
#include "wx/xrc/xmlres.h"
|
|
|
|
|
2006-10-03 10:53:40 -04:00
|
|
|
#if wxUSE_XRC && wxUSE_LISTBOOK
|
2005-02-28 13:46:49 -05:00
|
|
|
|
2007-07-09 06:09:52 -04:00
|
|
|
class WXDLLIMPEXP_FWD_CORE wxListbook;
|
2005-02-28 13:46:49 -05:00
|
|
|
|
|
|
|
class WXDLLIMPEXP_XRC wxListbookXmlHandler : public wxXmlResourceHandler
|
|
|
|
{
|
2006-10-03 10:53:40 -04:00
|
|
|
DECLARE_DYNAMIC_CLASS(wxListbookXmlHandler)
|
|
|
|
|
2005-02-28 13:46:49 -05:00
|
|
|
public:
|
|
|
|
wxListbookXmlHandler();
|
|
|
|
virtual wxObject *DoCreateResource();
|
|
|
|
virtual bool CanHandle(wxXmlNode *node);
|
|
|
|
|
|
|
|
private:
|
|
|
|
bool m_isInside;
|
|
|
|
wxListbook *m_listbook;
|
|
|
|
};
|
|
|
|
|
2006-10-03 10:53:40 -04:00
|
|
|
#endif // wxUSE_XRC && wxUSE_LISTBOOK
|
2005-02-28 13:46:49 -05:00
|
|
|
|
|
|
|
#endif // _WX_XH_LISTBK_H_
|