[Commits] (john) Renamed wxListBlock to wxList to match wxWidgets spelling, which is now possible because of changes to wxWidgets

commits at osafoundation.org commits at osafoundation.org
Wed May 26 18:46:00 PDT 2004


Commit by: john
Modified files:
chandler/parcels/osaf/framework/blocks/ControlBlocks.py 1.36 1.37

Log message:
Renamed wxListBlock to wxList to match wxWidgets spelling, which is now possible because of changes to wxWidgets

ViewCVS links:
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/framework/blocks/ControlBlocks.py.diff?r1=text&tr1=1.36&r2=text&tr2=1.37

Index: chandler/parcels/osaf/framework/blocks/ControlBlocks.py
diff -u chandler/parcels/osaf/framework/blocks/ControlBlocks.py:1.36 chandler/parcels/osaf/framework/blocks/ControlBlocks.py:1.37
--- chandler/parcels/osaf/framework/blocks/ControlBlocks.py:1.36	Tue May 25 18:34:43 2004
+++ chandler/parcels/osaf/framework/blocks/ControlBlocks.py	Wed May 26 18:45:29 2004
@@ -1,5 +1,5 @@
-__version__ = "$Revision: 1.36 $"
-__date__ = "$Date: 2004/05/26 01:34:43 $"
+__version__ = "$Revision: 1.37 $"
+__date__ = "$Date: 2004/05/27 01:45:29 $"
 __copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
 __license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
 
@@ -162,7 +162,7 @@
         return block.contentSpec.len()
 
 
-class wxListBlock(wx.ListCtrl):
+class wxList (wx.ListCtrl):
     def __init__(self, *arguments, **keywords):
         wx.ListCtrl.__init__(self, *arguments, **keywords)
         self.scheduleUpdate = False
@@ -266,9 +266,9 @@
         self.selection = None
 
     def instantiateWidget (self, parent, parentWindow):
-        list = wxListBlock(parentWindow,
-                           Block.getWidgetID(self),
-                           style=wx.LC_REPORT|wx.LC_VIRTUAL|wx.SUNKEN_BORDER|wx.LC_EDIT_LABELS)
+        list = wxList (parentWindow,
+                       Block.getWidgetID(self),
+                       style=wx.LC_REPORT|wx.LC_VIRTUAL|wx.SUNKEN_BORDER|wx.LC_EDIT_LABELS)
         return list, None, None
 
 



More information about the Commits mailing list