Removed wxPG_DOUBLE_BUFFER constant. Now all wxPG rendering is done double-buffered, regardless of the platform. Code path with wxPG_DOUBLE_BUFFER = 0 did not render correctly (fixes #13140). In future should probably use wxAutoBufferedPaintDC or something similar, but this will require non-trivial code changes and testing.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2011-04-15 09:23:23 +00:00
parent 63722a74b0
commit 35f8ae6572
3 changed files with 3 additions and 35 deletions

View File

@@ -43,9 +43,6 @@
// 1 if wxRendererNative should be employed
#define wxPG_USE_RENDERER_NATIVE 0
// 1 to use double-buffer that guarantees flicker-free painting
#define wxPG_DOUBLE_BUFFER 1
// Enable tooltips
#define wxPG_SUPPORT_TOOLTIPS 1
@@ -79,9 +76,6 @@
// 1 if wxRendererNative should be employed
#define wxPG_USE_RENDERER_NATIVE 1
// 1 to use double-buffer that guarantees flicker-free painting
#define wxPG_DOUBLE_BUFFER 1
// Enable tooltips
#define wxPG_SUPPORT_TOOLTIPS 1
@@ -113,9 +107,6 @@
// 1 if wxRendererNative should be employed
#define wxPG_USE_RENDERER_NATIVE 1
// 1 to use double-buffer that guarantees flicker-free painting
#define wxPG_DOUBLE_BUFFER 0
// Enable tooltips
#define wxPG_SUPPORT_TOOLTIPS 1
@@ -147,9 +138,6 @@
// 1 if wxRendererNative should be employed
#define wxPG_USE_RENDERER_NATIVE 0
// 1 to use double-buffer that guarantees flicker-free painting
#define wxPG_DOUBLE_BUFFER 0
// Enable tooltips
#define wxPG_SUPPORT_TOOLTIPS 0
@@ -192,8 +180,6 @@
#if defined(__WXWINCE__)
#define wxPG_SMALL_SCREEN 1
#undef wxPG_DOUBLE_BUFFER
#define wxPG_DOUBLE_BUFFER 0
#else
#define wxPG_SMALL_SCREEN 0
#endif