From 5f24651b5c1f73881e89de9f67ecfad696af8d4b Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 5 Oct 2004 20:53:01 +0000 Subject: [PATCH] Deprecated EVT_LIST_GET_INFO and EVT_LIST_SET_INFO git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_listctrl.i | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wxPython/src/_listctrl.i b/wxPython/src/_listctrl.i index 314b4287a2..bbb7b19181 100644 --- a/wxPython/src/_listctrl.i +++ b/wxPython/src/_listctrl.i @@ -331,6 +331,9 @@ EVT_LIST_COL_BEGIN_DRAG = wx.PyEventBinder(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG EVT_LIST_COL_DRAGGING = wx.PyEventBinder(wxEVT_COMMAND_LIST_COL_DRAGGING , 1) EVT_LIST_COL_END_DRAG = wx.PyEventBinder(wxEVT_COMMAND_LIST_COL_END_DRAG , 1) EVT_LIST_ITEM_FOCUSED = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_FOCUSED , 1) + +EVT_LIST_GET_INFO = wx._deprecated(EVT_LIST_GET_INFO) +EVT_LIST_SET_INFO = wx._deprecated(EVT_LIST_SET_INFO) } //--------------------------------------------------------------------------- @@ -497,7 +500,7 @@ public: bool SetItemState(long item, long state, long stateMask) ; // Sets the item image - bool SetItemImage(long item, int image, int selImage) ; + bool SetItemImage(long item, int image, int selImage=-1) ; // Gets the item text wxString GetItemText(long item) const ;