From 3fb39fd56c1ee6cb487b6bbfc308353e47a98475 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 4 Aug 2011 16:12:41 +0000 Subject: [PATCH] Add missing header for minimalistic builds not using PCH. wxWindow might not be fully declared in dcbase.cpp but we need its full declaration for wxDCImpl::InheritAttributes() so explicitly include wx/window.h -- while this is usually already included from somewhere else it might not be in minimal builds with a lot of features disabled. Closes #13380. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/dcbase.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/dcbase.cpp b/src/common/dcbase.cpp index d1e8ddea76..a8b4420651 100644 --- a/src/common/dcbase.cpp +++ b/src/common/dcbase.cpp @@ -35,6 +35,7 @@ #ifndef WX_PRECOMP #include "wx/math.h" #include "wx/module.h" + #include "wx/window.h" #endif #ifdef __WXMSW__ -- 2.45.2