Correct compilation breakage of r63832.
wx/setup.h can't use wxCHECK_VISUALC_VERSION() which is defined in wx/platform.h _after_ wx/setup.h inclusion. Replace wxCHECK_VISUALC_VERSION() with manual tests for _MSC_VER. Also add more comments to explain what's going on. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
20
setup.h.in
20
setup.h.in
@@ -323,10 +323,24 @@
|
||||
#define wxUSE_STC 0
|
||||
|
||||
|
||||
#if !defined(__WXMSW__) || wxCHECK_VISUALC_VERSION(7)
|
||||
#define wxUSE_GRAPHICS_CONTEXT 0
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# if _MSC_VER >= 1400
|
||||
|
||||
|
||||
#define wxUSE_GRAPHICS_CONTEXT 0
|
||||
# else
|
||||
|
||||
|
||||
# define wxUSE_GRAPHICS_CONTEXT 0
|
||||
# endif
|
||||
#else
|
||||
#define wxUSE_GRAPHICS_CONTEXT 0
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# define wxUSE_GRAPHICS_CONTEXT 0
|
||||
#endif
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user