dabo Commit
Revision 5590
Date: 2010-01-05 18:29:32 -0800 (Tue, 05 Jan 2010)
Author: Ed
Trac: http://trac.dabodev.com/changeset/5590
Changed:
U trunk/dabo/ui/uiwx/dListControl.py
Log:
Overrode the removeAll() method of this control to work properly with the
underlying wx control. Trac #1308
Diff:
Modified: trunk/dabo/ui/uiwx/dListControl.py
===================================================================
--- trunk/dabo/ui/uiwx/dListControl.py 2010-01-06 00:40:03 UTC (rev 5589)
+++ trunk/dabo/ui/uiwx/dListControl.py 2010-01-06 02:29:32 UTC (rev 5590)
@@ -274,6 +274,8 @@
""" Remove all the rows in the control. """
self.DeleteAllItems()
self._lastSelectedIndex = None
+ # Need to alias this to work like other list controls.
+ removeAll = clear
def _GetString(self, idx=None, col=None):
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]