dabo Commit
Revision 6714
Date: 2011-07-10 09:54:27 -0700 (Sun, 10 Jul 2011)
Author: Jacekk
Trac: http://trac.dabodev.com/changeset/6714

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

Log:
Added wx.CLIP_CHILDREN style to prevent flickering on WIndows platform.

Diff:
Modified: trunk/dabo/ui/uiwx/dPanel.py
===================================================================
--- trunk/dabo/ui/uiwx/dPanel.py        2011-07-10 16:46:01 UTC (rev 6713)
+++ trunk/dabo/ui/uiwx/dPanel.py        2011-07-10 16:54:27 UTC (rev 6714)
@@ -27,7 +27,7 @@
                        buff = self._extractKey((properties, kwargs), 
"Buffered", False)
                kwargs["Buffered"] = buff
                style = self._extractKey((properties, kwargs), "style", 0)
-               style = style | wx.TAB_TRAVERSAL
+               style = style | wx.TAB_TRAVERSAL | wx.CLIP_CHILDREN
                kwargs["style"] = style
                # For performance, store this at init
                self._platformIsWindows = (self.Application.Platform == "Win")
@@ -504,6 +504,3 @@
        test.Test().runTest(_dPanel_test)
        test.Test().runTest(_dScrollPanel_test)
 
-
-
-



_______________________________________________
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