X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e7678d7d03263beba70ee9c583f012850505dd31..a614ffae7187a70bf353cc1bbf4873ee65c58e34:/include/wx/msw/chkconf.h

diff --git a/include/wx/msw/chkconf.h b/include/wx/msw/chkconf.h
index 08a3ffea9f..eabc05bdf6 100644
--- a/include/wx/msw/chkconf.h
+++ b/include/wx/msw/chkconf.h
@@ -239,15 +239,6 @@
    Compiler-specific checks.
  */
 
-// Only MSVC 7+ has gdiplus.h, add exceptions for other compilers here if they
-// can support it too (but notice that Borland currently dies in
-// src/msw/gdiplus.cpp with "macro expansion too long" error even if the header
-// is available)
-#if !wxCHECK_VISUALC_VERSION(7)
-    #undef wxUSE_GRAPHICS_CONTEXT
-    #define wxUSE_GRAPHICS_CONTEXT 0
-#endif
-
 // Borland
 #ifdef __BORLANDC__
 
@@ -419,6 +410,7 @@
 #           undef wxUSE_FSWATCHER
 #           define wxUSE_FSWATCHER 0
 #       endif
+#   endif
 #endif /* !wxUSE_THREADS */
 
 #if defined(__WXUNIVERSAL__) && wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW && !wxUSE_POSTSCRIPT