[Commits] (davids) temporarily disabled WinXP native window dbl-buffering

commits at osafoundation.org commits at osafoundation.org
Tue Aug 3 13:08:52 PDT 2004


Commit by: davids
Modified files:
internal/wxPython-2.5/src/msw/toplevel.cpp 2.3 2.4

Log message:
temporarily disabled WinXP native window dbl-buffering

ViewCVS links:
http://cvs.osafoundation.org/index.cgi/internal/wxPython-2.5/src/msw/toplevel.cpp.diff?r1=text&tr1=2.3&r2=text&tr2=2.4

Index: internal/wxPython-2.5/src/msw/toplevel.cpp
diff -u internal/wxPython-2.5/src/msw/toplevel.cpp:2.3 internal/wxPython-2.5/src/msw/toplevel.cpp:2.4
--- internal/wxPython-2.5/src/msw/toplevel.cpp:2.3	Tue Jul 13 12:25:43 2004
+++ internal/wxPython-2.5/src/msw/toplevel.cpp	Tue Aug  3 13:08:51 2004
@@ -4,7 +4,7 @@
 // Author:      Vadim Zeitlin
 // Modified by:
 // Created:     24.09.01
-// RCS-ID:      $Id: toplevel.cpp,v 2.3 2004/07/13 19:25:43 davids Exp $
+// RCS-ID:      $Id: toplevel.cpp,v 2.4 2004/08/03 20:08:51 davids Exp $
 // Copyright:   (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
 // License:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
@@ -226,9 +226,10 @@
     if ( exflags )
     {
 #if !defined(__WIN16__)
+		// FIXME: commented out until bad textcntl idle-time interactions are debugged
 		// take advantage of WinXP native window double-buffering
-		if ((wxApp::GetComCtl32Version() > 400) && (GetParent() == NULL))
-			*exflags += 0x02000000;	// WS_EX_COMPOSITED
+//		if ((wxApp::GetComCtl32Version() > 400) && (GetParent() == NULL))
+//			*exflags |= 0x02000000;	// WS_EX_COMPOSITED
 
         if ( !(GetExtraStyle() & wxTOPLEVEL_EX_DIALOG) )
         {



More information about the Commits mailing list