Turn off wxUSE_GRAPHICS_CONTEXT if compiling with MSVC 6

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2007-02-10 02:06:54 +00:00
parent 73795abcef
commit fe641ffb97

View File

@@ -375,4 +375,13 @@
# endif
#endif /* !wxUSE_ACTIVEX */
#if defined(_MSC_VER) && _MSC_VER <= 1200 && wxUSE_GRAPHICS_CONTEXT
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxGraphicsContext needs MSVC 7 or newer"
# else
# undef wxUSE_GRAPHICS_CONTEXT
# define wxUSE_GRAPHICS_CONTEXT 0
# endif
#endif
#endif /* _WX_MSW_CHKCONF_H_ */