dabo Commit
Revision 5513
Date: 2009-11-09 14:44:44 -0800 (Mon, 09 Nov 2009)
Author: Paul
Trac: http://trac.dabodev.com/changeset/5513
Changed:
U trunk/dabo/ui/uiwx/dGrid.py
Log:
Added protective code around a wx call on which I'd gotten an error report.
Couldn't repro the error, though.
Diff:
Modified: trunk/dabo/ui/uiwx/dGrid.py
===================================================================
--- trunk/dabo/ui/uiwx/dGrid.py 2009-11-05 19:13:01 UTC (rev 5512)
+++ trunk/dabo/ui/uiwx/dGrid.py 2009-11-09 22:44:44 UTC (rev 5513)
@@ -3376,7 +3376,12 @@
return
if self.SameSizeRows:
- self.RowHeight = self.GetRowSize(row)
+ try:
+ self.RowHeight = self.GetRowSize(row)
+ except wx._core.PyAssertionError:
+ # pkm: I don't understand how it could have
gotten this far, but
+ # I got an error report that the c++
assertion row>=0 && row<m_numrows failed.
+ pass
def _onGridCellSelected(self, evt):
_______________________________________________
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]