dabo Commit
Revision 6437
Date: 2011-02-15 16:14:05 -0800 (Tue, 15 Feb 2011)
Author: Ed
Trac: http://trac.dabodev.com/changeset/6437
Changed:
U trunk/dabo/ui/uiwx/dPemMixin.py
Log:
This should fix the issue noted by Uwe Grauer regarding Bubblet not drawing
correctly.
Diff:
Modified: trunk/dabo/ui/uiwx/dPemMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dPemMixin.py 2011-02-15 11:50:14 UTC (rev 6436)
+++ trunk/dabo/ui/uiwx/dPemMixin.py 2011-02-16 00:14:05 UTC (rev 6437)
@@ -2975,7 +2975,7 @@
x, y = self.Xpos, self.Ypos
if dc is None:
- dc = self._dc or wx.WindowDC(frm)
+ dc = self._dc or wx.WindowDC(srcObj)
if self.Shape == "bmp":
dc.DrawBitmap(self._bitmap, x, y, self._transparent)
self._width = self._bitmap.GetWidth()
_______________________________________________
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]