turning around defines, using a graphics context enables testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -39,7 +39,8 @@
|
|||||||
#if wxTEST_GRAPHICS
|
#if wxTEST_GRAPHICS
|
||||||
#include "wx/graphics.h"
|
#include "wx/graphics.h"
|
||||||
#if wxUSE_GRAPHICS_CONTEXT == 0
|
#if wxUSE_GRAPHICS_CONTEXT == 0
|
||||||
#error wxUSE_GRAPHICS_CONTEXT must be defined to 1 for testing
|
#undef wxTEST_GRAPHICS
|
||||||
|
#define wxTEST_GRAPHICS 0
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
#undef wxUSE_GRAPHICS_CONTEXT
|
#undef wxUSE_GRAPHICS_CONTEXT
|
||||||
|
Reference in New Issue
Block a user