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:
Stefan Csomor
2006-10-10 12:21:59 +00:00
parent 6bbb8a8d50
commit 12534a3647

View File

@@ -39,7 +39,8 @@
#if wxTEST_GRAPHICS
#include "wx/graphics.h"
#if wxUSE_GRAPHICS_CONTEXT == 0
#error wxUSE_GRAPHICS_CONTEXT must be defined to 1 for testing
#undef wxTEST_GRAPHICS
#define wxTEST_GRAPHICS 0
#endif
#else
#undef wxUSE_GRAPHICS_CONTEXT