From: Stefan Csomor Date: Tue, 10 Oct 2006 12:21:59 +0000 (+0000) Subject: turning around defines, using a graphics context enables testing X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/12534a36477bfa6c1eda7dc05a1e741000dc3ddf?ds=inline 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 --- diff --git a/samples/drawing/drawing.cpp b/samples/drawing/drawing.cpp index 76ca96d4d0..3c21059947 100644 --- a/samples/drawing/drawing.cpp +++ b/samples/drawing/drawing.cpp @@ -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