X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/326462ae94e4b1d4fb6a8d56875ce0fcbd9d1c33..9869c26285dc51d13607cddaa04f65ce983653a5:/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 5ca936f28b..b2b927e1db 100644 --- a/include/wx/xrc/xh_listc.h +++ b/include/wx/xrc/xh_listc.h @@ -3,7 +3,6 @@ // Purpose: XML resource handler for wxListCtrl // Author: Brian Gavin // Created: 2000/09/09 -// RCS-ID: $Id$ // Copyright: (c) 2000 Brian Gavin // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -16,6 +15,7 @@ #if wxUSE_XRC && wxUSE_LISTCTRL class WXDLLIMPEXP_FWD_CORE wxListCtrl; +class WXDLLIMPEXP_FWD_CORE wxListItem; class WXDLLIMPEXP_XRC wxListCtrlXmlHandler : public wxXmlResourceHandler { @@ -25,8 +25,13 @@ public: virtual bool CanHandle(wxXmlNode *node); private: - long Handle_wxListItem(); - wxObject* Handle_wxListCtrl(); + // handlers for wxListCtrl itself and its listcol and listitem children + wxListCtrl *HandleListCtrl(); + void HandleListCol(); + void HandleListItem(); + + // common part to HandleList{Col,Item}() + void HandleCommonItemAttrs(wxListItem& item); // gets the items image index in the corresponding image list (normal if // which is wxIMAGE_LIST_NORMAL or small if it is wxIMAGE_LIST_SMALL)