X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab7ce33c563651f790f99d64ee56727706047ae3..333e57d578e9e0fb6555452b5a53698ffd85ee69:/include/wx/xrc/xh_listc.h?ds=sidebyside diff --git a/include/wx/xrc/xh_listc.h b/include/wx/xrc/xh_listc.h index 9199f594dd..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$ @@ -11,19 +11,20 @@ #ifndef _WX_XH_LISTC_H_ #define _WX_XH_LISTC_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -#pragma interface "xh_listc.h" -#endif - #include "wx/xrc/xmlres.h" -class WXXMLDLLEXPORT wxListCtrlXmlHandler : public wxXmlResourceHandler +#if wxUSE_XRC && wxUSE_LISTCTRL + +class WXDLLIMPEXP_XRC wxListCtrlXmlHandler : public wxXmlResourceHandler { + DECLARE_DYNAMIC_CLASS(wxListCtrlXmlHandler) + public: wxListCtrlXmlHandler(); virtual wxObject *DoCreateResource(); virtual bool CanHandle(wxXmlNode *node); }; +#endif // wxUSE_XRC && wxUSE_LISTCTRL #endif // _WX_XH_LISTC_H_