From 9c1bc3c0190245fd7448ed9f399a5d237bba1851 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 25 Oct 2015 13:36:25 +0100 Subject: [PATCH] Define LVS_EX_DOUBLEBUFFER ourselves if SDK headers don't do it This should fix compilation with MinGW after the changes of 2a6e411887964a9df0dcad6fa868b436c5928e3c which started using this style. See #17177. --- include/wx/msw/missing.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/wx/msw/missing.h b/include/wx/msw/missing.h index 25405eac76..44d5571655 100644 --- a/include/wx/msw/missing.h +++ b/include/wx/msw/missing.h @@ -184,6 +184,10 @@ #define LVS_EX_SUBITEMIMAGES 0x00000002 #endif +#ifndef LVS_EX_DOUBLEBUFFER + #define LVS_EX_DOUBLEBUFFER 0x00010000 +#endif + #ifndef HDN_GETDISPINFOW #define HDN_GETDISPINFOW (HDN_FIRST-29) #endif