dabo Commit
Revision 5598
Date: 2010-01-14 11:43:23 -0800 (Thu, 14 Jan 2010)
Author: Paul
Trac: http://trac.dabodev.com/changeset/5598
Changed:
U trunk/dabo/ui/uiwx/dGrid.py
Log:
Moved super() call in dColumn._beforeInit() to the end of the method, allowing
appdevs to override the settings made piecemeal instead of entirely.
Diff:
Modified: trunk/dabo/ui/uiwx/dGrid.py
===================================================================
--- trunk/dabo/ui/uiwx/dGrid.py 2010-01-14 19:12:02 UTC (rev 5597)
+++ trunk/dabo/ui/uiwx/dGrid.py 2010-01-14 19:43:23 UTC (rev 5598)
@@ -462,7 +462,6 @@
def _beforeInit(self):
- super(dColumn, self)._beforeInit()
# Define the cell renderer and editor classes
import gridRenderers
self.stringRendererClass = wx.grid.GridCellStringRenderer
@@ -520,6 +519,7 @@
# Default to string renderer
self._rendererClass = self.stringRendererClass
+ super(dColumn, self)._beforeInit()
def _afterInit(self):
_______________________________________________
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]