dabo Commit
Revision 6132
Date: 2010-10-22 17:38:37 -0700 (Fri, 22 Oct 2010)
Author: Paul
Trac: http://trac.dabodev.com/changeset/6132
Changed:
U trunk/dabo/ui/uiwx/dPemMixin.py
Log:
I found on Windows Vista, that sometimes the form would have artifacts after
resizing the form border. Interestingly, neither form.refresh() nor
form.layout() would clear the artifacts, but form.update() would.
Diff:
Modified: trunk/dabo/ui/uiwx/dPemMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dPemMixin.py 2010-10-22 22:20:55 UTC (rev 6131)
+++ trunk/dabo/ui/uiwx/dPemMixin.py 2010-10-23 00:38:37 UTC (rev 6132)
@@ -717,6 +717,8 @@
if self._finito:
return
self._needRedraw = bool(self._drawnObjects)
+ if sys.platform.startswith("win") and isinstance(self,
(dabo.ui.dFormMixin,)):
+ dabo.ui.callAfterInterval(200, self.update)
self.raiseEvent(dEvents.Resize, 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]