Use a better index
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -239,7 +239,7 @@ class KeyLog(wxListCtrl, wxListCtrlAutoWidthMixin):
|
||||
else:
|
||||
modifiers += '-'
|
||||
|
||||
id = self.InsertStringItem(0xffffff, evType)
|
||||
id = self.InsertStringItem(self.GetItemCount(), evType)
|
||||
self.SetStringItem(id, 1, keyname)
|
||||
self.SetStringItem(id, 2, str(keycode))
|
||||
self.SetStringItem(id, 3, modifiers)
|
||||
|
Reference in New Issue
Block a user