diff --git a/tests/graphics/measuring.cpp b/tests/graphics/measuring.cpp index 3c4cf96788..3d9c21fad4 100644 --- a/tests/graphics/measuring.cpp +++ b/tests/graphics/measuring.cpp @@ -13,7 +13,8 @@ #include "testprec.h" -#if wxUSE_GRAPHICS_CONTEXT +// wxCairoRenderer::CreateMeasuringContext() is not implement for wxX11 +#if wxUSE_GRAPHICS_CONTEXT && !defined(__WXX11__) #ifdef __BORLANDC__ #pragma hdrstop