Bind event to the listctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -62,7 +62,7 @@ class ColumnSorterMixin:
|
|||||||
list = self.GetListCtrl()
|
list = self.GetListCtrl()
|
||||||
if not list:
|
if not list:
|
||||||
raise ValueError, "No wx.ListCtrl available"
|
raise ValueError, "No wx.ListCtrl available"
|
||||||
self.Bind(wx.EVT_LIST_COL_CLICK, self.__OnColClick, list)
|
list.Bind(wx.EVT_LIST_COL_CLICK, self.__OnColClick, list)
|
||||||
|
|
||||||
|
|
||||||
def SetColumnCount(self, newNumColumns):
|
def SetColumnCount(self, newNumColumns):
|
||||||
|
Reference in New Issue
Block a user