X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f806b2b4ee503113a0edb8b2813ff5ff4d2d7c30..5dec941a5ba3c08870ab4b415dd6e5be368fa0f0:/tests/graphics/measuring.cpp diff --git a/tests/graphics/measuring.cpp b/tests/graphics/measuring.cpp index b5e8419a49..a0b9803a55 100644 --- a/tests/graphics/measuring.cpp +++ b/tests/graphics/measuring.cpp @@ -1,10 +1,10 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: tests/controls/clientsize.cpp -// Purpose: Client vs. window size handling unit test -// Author: Vaclav Slavik +// Name: tests/graphics/measuring.cpp +// 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 $ -// Copyright: (c) 2008 Vaclav Slavik +// 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" ); // ----------------------------------------------------------------------------