X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/97b18a77f481888f978a9aa32d5cb871c6b07356..dd44c130144ad153bf67121a94b23a615db409f5:/src/msw/nonownedwnd.cpp diff --git a/src/msw/nonownedwnd.cpp b/src/msw/nonownedwnd.cpp index 04340b0a58..fca7bfe879 100644 --- a/src/msw/nonownedwnd.cpp +++ b/src/msw/nonownedwnd.cpp @@ -3,7 +3,6 @@ // Purpose: wxNonOwnedWindow implementation for MSW. // Author: Vadim Zeitlin // Created: 2011-10-09 (extracted from src/msw/toplevel.cpp) -// RCS-ID: $Id: $ // Copyright: (c) 2011 Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -35,8 +34,11 @@ #include "wx/nonownedwnd.h" -#include "wx/msw/wrapgdip.h" -#include "wx/graphics.h" +#if wxUSE_GRAPHICS_CONTEXT + #include "wx/msw/wrapgdip.h" + #include "wx/graphics.h" +#endif // wxUSE_GRAPHICS_CONTEXT + #include "wx/scopedptr.h" // ============================================================================