From bb1b20f1a9b41aa9ceeeeccd551d36f6259f10f7 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 10 Nov 2010 13:52:52 +0000 Subject: [PATCH] Disable measuring context unit test for wxX11. wxCairoRenderer::CreateMeasuringContext() is only implemented for wxGTK so the test fails under other ports when using Cairo. Disable it for wxX11 for now. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/graphics/measuring.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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