From: Vadim Zeitlin Date: Thu, 4 Aug 2011 16:12:41 +0000 (+0000) Subject: Add missing header for minimalistic builds not using PCH. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3fb39fd56c1ee6cb487b6bbfc308353e47a98475 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 --- 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__