X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..f01a77c7954ff4b7ee9f74af8df5a16f239d3537:/include/wx/xrc/xh_listc.h diff --git a/include/wx/xrc/xh_listc.h b/include/wx/xrc/xh_listc.h index 9868bc32bd..25847467f1 100644 --- a/include/wx/xrc/xh_listc.h +++ b/include/wx/xrc/xh_listc.h @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: xh_listc.h -// Purpose: XML resource handler for wxCalendarCtrl +// Name: wx/xrc/xh_listc.h +// Purpose: XML resource handler for wxListCtrl // Author: Brian Gavin // Created: 2000/09/09 // RCS-ID: $Id$ @@ -13,14 +13,18 @@ #include "wx/xrc/xmlres.h" +#if wxUSE_XRC && wxUSE_LISTCTRL + class WXDLLIMPEXP_XRC wxListCtrlXmlHandler : public wxXmlResourceHandler { -DECLARE_DYNAMIC_CLASS(wxListCtrlXmlHandler) + DECLARE_DYNAMIC_CLASS(wxListCtrlXmlHandler) + public: wxListCtrlXmlHandler(); virtual wxObject *DoCreateResource(); virtual bool CanHandle(wxXmlNode *node); }; +#endif // wxUSE_XRC && wxUSE_LISTCTRL #endif // _WX_XH_LISTC_H_