3f66f6a5b3
This keyword is not expanded by Git which means it's not replaced with the correct revision value in the releases made using git-based scripts and it's confusing to have lines with unexpanded "$Id$" in the released files. As expanding them with Git is not that simple (it could be done with git archive and export-subst attribute) and there are not many benefits in having them in the first place, just remove all these lines. If nothing else, this will make an eventual transition to Git simpler. Closes #14487. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
46 lines
1.3 KiB
C++
46 lines
1.3 KiB
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: wx/xrc/xh_listc.h
|
|
// Purpose: XML resource handler for wxListCtrl
|
|
// Author: Brian Gavin
|
|
// Created: 2000/09/09
|
|
// Copyright: (c) 2000 Brian Gavin
|
|
// Licence: wxWindows licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef _WX_XH_LISTC_H_
|
|
#define _WX_XH_LISTC_H_
|
|
|
|
#include "wx/xrc/xmlres.h"
|
|
|
|
#if wxUSE_XRC && wxUSE_LISTCTRL
|
|
|
|
class WXDLLIMPEXP_FWD_CORE wxListCtrl;
|
|
class WXDLLIMPEXP_FWD_CORE wxListItem;
|
|
|
|
class WXDLLIMPEXP_XRC wxListCtrlXmlHandler : public wxXmlResourceHandler
|
|
{
|
|
public:
|
|
wxListCtrlXmlHandler();
|
|
virtual wxObject *DoCreateResource();
|
|
virtual bool CanHandle(wxXmlNode *node);
|
|
|
|
private:
|
|
// 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)
|
|
long GetImageIndex(wxListCtrl *listctrl, int which);
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxListCtrlXmlHandler)
|
|
};
|
|
|
|
#endif // wxUSE_XRC && wxUSE_LISTCTRL
|
|
|
|
#endif // _WX_XH_LISTC_H_
|