From: Vadim Zeitlin Date: Mon, 31 Oct 2011 10:42:42 +0000 (+0000) Subject: Compilation fix for wxUSE_GRAPHICS_CONTEXT && !WX_PRECOMP. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/97b18a77f481888f978a9aa32d5cb871c6b07356 Compilation fix for wxUSE_GRAPHICS_CONTEXT && !WX_PRECOMP. Include wx/dcclient.h to get wxPaintDC declaration necessary in this case. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/nonownedwnd.cpp b/src/msw/nonownedwnd.cpp index e656ada141..04340b0a58 100644 --- a/src/msw/nonownedwnd.cpp +++ b/src/msw/nonownedwnd.cpp @@ -27,6 +27,7 @@ #ifndef __WXWINCE__ #ifndef WX_PRECOMP + #include "wx/dcclient.h" #include "wx/frame.h" // Only for wxFRAME_SHAPED. #include "wx/region.h" #include "wx/msw/private.h"