]> git.saurik.com Git - wxWidgets.git/commitdiff
Add missing header for minimalistic builds not using PCH.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 4 Aug 2011 16:12:41 +0000 (16:12 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 4 Aug 2011 16:12:41 +0000 (16:12 +0000)
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

index d1e8ddea76d5e76b56b89ecc93c7511ed934ebd9..a8b4420651dbc80747ec2d5311f89ecd47a41c46 100644 (file)
@@ -35,6 +35,7 @@
 #ifndef WX_PRECOMP
     #include "wx/math.h"
     #include "wx/module.h"
+    #include "wx/window.h"
 #endif
 
 #ifdef __WXMSW__