]> git.saurik.com Git - wxWidgets.git/commitdiff
Disable measuring context unit test for wxX11.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 10 Nov 2010 13:52:52 +0000 (13:52 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 10 Nov 2010 13:52:52 +0000 (13:52 +0000)
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

index 3c4cf96788174bd990f6eb322e30d6c96e5b56fe..3d9c21fad4144ce6989a21831dcc32bf2735210c 100644 (file)
@@ -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