From: Vadim Zeitlin Date: Mon, 10 Oct 2011 17:08:44 +0000 (+0000) Subject: Fix PCH-less build after adding wxNonOwnerWindow in wxMSW. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3648be1f8f05e462cd9cc1cf6b5428023a44e034 Fix PCH-less build after adding wxNonOwnerWindow in wxMSW. Include the required headers when not using PCH to fix compilation. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/nonownedwnd.cpp b/src/msw/nonownedwnd.cpp index d5818a21e5..8cfe2e2064 100644 --- a/src/msw/nonownedwnd.cpp +++ b/src/msw/nonownedwnd.cpp @@ -24,6 +24,9 @@ #endif #ifndef WX_PRECOMP + #include "wx/frame.h" // Only for wxFRAME_SHAPED. + #include "wx/region.h" + #include "wx/msw/private.h" #endif // WX_PRECOMP #include "wx/nonownedwnd.h"