X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2fc9c1ea77eb02938debb6d4c2bdebd052309cc2..1680c3561bc4f44c63a026e0d1a5324a39336156:/tests/graphics/measuring.cpp diff --git a/tests/graphics/measuring.cpp b/tests/graphics/measuring.cpp index 9affc9882c..a0b9803a55 100644 --- a/tests/graphics/measuring.cpp +++ b/tests/graphics/measuring.cpp @@ -3,7 +3,7 @@ // Purpose: Tests for wxGraphicsRenderer::CreateMeasuringContext // Author: Kevin Ollivier // Created: 2008-02-12 -// RCS-ID: $Id: clientsize.cpp 53740 2008-05-25 02:56:22Z VZ $ +// RCS-ID: $Id$ // Copyright: (c) 2008 Kevin Ollivier /////////////////////////////////////////////////////////////////////////////// @@ -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 @@ -53,7 +54,7 @@ private: // register in the unnamed registry so that these tests are run by default CPPUNIT_TEST_SUITE_REGISTRATION( MeasuringContextTestCase ); -// also include in it's own registry so that these tests can be run alone +// also include in its own registry so that these tests can be run alone CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( MeasuringContextTestCase, "MeasuringContextTestCase" ); // ----------------------------------------------------------------------------