2005-02-28 13:46:49 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2006-07-04 14:08:09 -04:00
|
|
|
// Name: wx/xrc/xh_choicbk.h
|
2005-02-28 13:46:49 -05:00
|
|
|
// Purpose: XML resource handler for wxChoicebook
|
|
|
|
// Author: Vaclav Slavik
|
|
|
|
// Copyright: (c) 2000 Vaclav Slavik
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_XH_CHOICEBK_H_
|
|
|
|
#define _WX_XH_CHOICEBK_H_
|
|
|
|
|
2006-07-04 14:08:09 -04:00
|
|
|
#include "wx/defs.h"
|
|
|
|
|
|
|
|
#if wxUSE_XRC && wxUSE_CHOICEBOOK
|
2005-02-28 13:46:49 -05:00
|
|
|
|
2006-07-04 14:08:09 -04:00
|
|
|
#include "wx/xrc/xmlres.h"
|
2005-02-28 13:46:49 -05:00
|
|
|
|
|
|
|
class WXDLLEXPORT wxChoicebook;
|
|
|
|
|
|
|
|
class WXDLLIMPEXP_XRC wxChoicebookXmlHandler : public wxXmlResourceHandler
|
|
|
|
{
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxChoicebookXmlHandler)
|
|
|
|
public:
|
|
|
|
wxChoicebookXmlHandler();
|
|
|
|
virtual wxObject *DoCreateResource();
|
|
|
|
virtual bool CanHandle(wxXmlNode *node);
|
|
|
|
|
|
|
|
private:
|
|
|
|
bool m_isInside;
|
|
|
|
wxChoicebook *m_choicebook;
|
|
|
|
};
|
|
|
|
|
2006-07-04 14:08:09 -04:00
|
|
|
#endif // wxUSE_XRC && wxUSE_CHOICEBOOK
|
2005-02-28 13:46:49 -05:00
|
|
|
|
|
|
|
#endif // _WX_XH_CHOICEBK_H_
|