dabo Commit
Revision 5157
Date: 2009-03-27 16:24:58 -0700 (Fri, 27 Mar 2009)
Author: Paul
Trac: http://trac.dabodev.com/changeset/5157
Changed:
U trunk/ide/ReportDesigner.py
Log:
Okay, this is the final change. I'll have to work on the refresh issues
later, but at least this works functionally.
Diff:
Modified: trunk/ide/ReportDesigner.py
===================================================================
--- trunk/ide/ReportDesigner.py 2009-03-27 22:53:01 UTC (rev 5156)
+++ trunk/ide/ReportDesigner.py 2009-03-27 23:24:58 UTC (rev 5157)
@@ -1132,10 +1132,10 @@
# the side-effect of also scrolling the panel in both
directions, for some
# reason. So, we need to work around this annoyance and call
SetFocus()
# manually:
- evt.stop()
- self.Parent.SetScrollRate(0, 0)
+ evt.stop()
+ vs = self.Parent.GetViewStart()
self.SetFocus()
- self.Parent.SetScrollRate(*self.Parent._scrollRate)
+ self.Parent.Scroll(*vs)
self._mouseDown = True
mouseObj = self.getMouseObject()
@@ -1261,7 +1261,6 @@
selectColor = (128,192,0)
dc = wx.PaintDC(self)
dc.Clear()
-
selObjs = []
for obj in self.ReportObject.get("Objects", []):
_______________________________________________
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]