From 5266f4785c14b5dde690d95a418ada5412f50c9a Mon Sep 17 00:00:00 2001 From: Maarten Bent Date: Sat, 23 Apr 2016 20:24:49 +0200 Subject: [PATCH] Fix PCH-less build after CustomDraw addition Include "wx/msw/private.h" for wxColourToRGB(). See https://github.com/wxWidgets/wxWidgets/pull/276 --- src/msw/customdraw.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/msw/customdraw.cpp b/src/msw/customdraw.cpp index aae74669b8..02822692ca 100644 --- a/src/msw/customdraw.cpp +++ b/src/msw/customdraw.cpp @@ -22,6 +22,10 @@ #pragma hdrstop #endif +#ifndef WX_PRECOMP + #include "wx/msw/private.h" +#endif // !WX_PRECOMP + #include "wx/msw/private/customdraw.h" // ============================================================================