From e6274c7dfcfc28832eda22b6086f9fddb9939ef9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Kijewski?= Date: Tue, 10 Jan 2017 22:56:49 +0100 Subject: [PATCH] Fix PCH-less build Add missing includes for compiling without WX_PRECOMP. --- src/common/wincmn.cpp | 1 + src/msw/debughlp.cpp | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/common/wincmn.cpp b/src/common/wincmn.cpp index 7d7b6b4755..7bbc1caad6 100644 --- a/src/common/wincmn.cpp +++ b/src/common/wincmn.cpp @@ -47,6 +47,7 @@ #include "wx/layout.h" #include "wx/sizer.h" #include "wx/menu.h" + #include "wx/button.h" #endif //WX_PRECOMP #if wxUSE_DRAG_AND_DROP diff --git a/src/msw/debughlp.cpp b/src/msw/debughlp.cpp index a1719f2902..a04fa47835 100644 --- a/src/msw/debughlp.cpp +++ b/src/msw/debughlp.cpp @@ -21,6 +21,10 @@ #pragma hdrstop #endif +#ifndef WX_PRECOMP + #include "wx/wxcrt.h" +#endif // WX_PRECOMP + #include "wx/msw/debughlp.h" #if wxUSE_DBGHELP && wxUSE_DYNLIB_CLASS