X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/97b18a77f481888f978a9aa32d5cb871c6b07356..12bb29f5432174ecbd65549bda832d70d34a98ae:/src/msw/nonownedwnd.cpp diff --git a/src/msw/nonownedwnd.cpp b/src/msw/nonownedwnd.cpp index 04340b0a58..09f5ec0f8e 100644 --- a/src/msw/nonownedwnd.cpp +++ b/src/msw/nonownedwnd.cpp @@ -35,8 +35,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" // ============================================================================