dabo Commit
Revision 5949
Date: 2010-08-03 07:06:26 -0700 (Tue, 03 Aug 2010)
Author: Paul
Trac: http://trac.dabodev.com/changeset/5949

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

Log:
Commented out the double buffering added in r5947 as it was causing systemic 
problems. Hopefully with time we can find a happy medium and get rid of most 
flickering on Windows.

Diff:
Modified: trunk/dabo/ui/uiwx/dFormMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dFormMixin.py    2010-08-03 01:18:01 UTC (rev 5948)
+++ trunk/dabo/ui/uiwx/dFormMixin.py    2010-08-03 14:06:26 UTC (rev 5949)
@@ -126,7 +126,14 @@
                
                super(dFormMixin, self)._afterInit()
 
-               self.SetDoubleBuffered(True)
+               ## pkm 2010-08-03: The below results in smoother, nicer forms 
(no menu flickering or
+               ##                 other weird artifacts like page tabs 
partially disappearing), 
+               ##                 however there are reports of python.exe 
maxing out the CPU and the 
+               ##                 process needing to be killed by the user. My 
testing was with 
+               ##                 Python 2.5.4 / wx 2.8.11.0 / Windows Vista. 
Perhaps we just need to
+               ##                 play around with where we make this call, or 
set double buffered off
+               ##                 every now and then with a timer or 
something...
+               ##self.SetDoubleBuffered(True)
        
        
        def _initEvents(self):



_______________________________________________
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