From e85b8f1a4bd13538ffc8fdd1ddd1255c3567cd9e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 6 May 2016 18:55:41 +0200 Subject: [PATCH] Define CFE_AUTOBACKCOLOR ourselves if necessary Older MinGW cross-compiler versions don't have this symbol in their headers. --- src/msw/textctrl.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/msw/textctrl.cpp b/src/msw/textctrl.cpp index 25b0c3d5ff..d5a4c42a27 100644 --- a/src/msw/textctrl.cpp +++ b/src/msw/textctrl.cpp @@ -76,6 +76,10 @@ #define CFM_BACKCOLOR 0x04000000 #endif +#ifndef CFE_AUTOBACKCOLOR + #define CFE_AUTOBACKCOLOR 0x04000000 +#endif + #if wxUSE_DRAG_AND_DROP && wxUSE_RICHEDIT // dummy value used for m_dropTarget, different from any valid pointer value