X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/97b18a77f481888f978a9aa32d5cb871c6b07356..07aaf32633ecf18ec3edfbb41793a112914792d0:/src/msw/nonownedwnd.cpp?ds=sidebyside 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" // ============================================================================