]> git.saurik.com Git - wxWidgets.git/commitdiff
wxListCtrl --> wx.ListCtrl
authorRobin Dunn <robin@alldunn.com>
Wed, 25 Aug 2004 22:07:15 +0000 (22:07 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 25 Aug 2004 22:07:15 +0000 (22:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/wx/lib/mixins/listctrl.py

index fa9bd0291d555dcafaddc47c6483be3b80924cf8..77e49112de0f40f8e06c2a3c3d1a9dbbeaf1ef27 100644 (file)
@@ -262,7 +262,7 @@ def selectBeforePopup(event):
 
     Works with both single-select and multi-select lists."""
     ctrl = event.GetEventObject()
-    if isinstance(ctrl, wxListCtrl):
+    if isinstance(ctrl, wx.ListCtrl):
         n, flags = ctrl.HitTest(event.GetPosition())
         if n >= 0:
             if not ctrl.GetItemState(n, wx.LIST_STATE_SELECTED):