dabo Commit
Revision 5593
Date: 2010-01-14 10:34:55 -0800 (Thu, 14 Jan 2010)
Author: Paul
Trac: http://trac.dabodev.com/changeset/5593

Changed:
U   trunk/dabo/ui/uiwx/dGrid.py

Log:
Changed the editor/renderer for 'decimal' to use the float renderer instead
of the integer renderer. Thanks Jacek.


Diff:
Modified: trunk/dabo/ui/uiwx/dGrid.py
===================================================================
--- trunk/dabo/ui/uiwx/dGrid.py 2010-01-09 07:46:36 UTC (rev 5592)
+++ trunk/dabo/ui/uiwx/dGrid.py 2010-01-14 18:34:55 UTC (rev 5593)
@@ -489,7 +489,7 @@
                self.boolRendererClass = gridRenderers.BoolRenderer
                self.intRendererClass = wx.grid.GridCellNumberRenderer
                self.longRendererClass = wx.grid.GridCellNumberRenderer
-               self.decimalRendererClass = wx.grid.GridCellNumberRenderer
+               self.decimalRendererClass = wx.grid.GridCellFloatRenderer
                self.floatRendererClass = wx.grid.GridCellFloatRenderer
                self.listRendererClass = wx.grid.GridCellStringRenderer
                self.stringEditorClass = wx.grid.GridCellTextEditor
@@ -497,7 +497,7 @@
                self.boolEditorClass = wx.grid.GridCellBoolEditor
                self.intEditorClass = wx.grid.GridCellNumberEditor
                self.longEditorClass = wx.grid.GridCellNumberEditor
-               self.decimalEditorClass = wx.grid.GridCellNumberEditor
+               self.decimalEditorClass = wx.grid.GridCellFloatEditor
                self.floatEditorClass = wx.grid.GridCellFloatEditor
                self.listEditorClass = wx.grid.GridCellChoiceEditor
 #              self.listEditorClass = GridListEditor



_______________________________________________
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]

Reply via email to