]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/graphics/measuring.cpp
Don't call wxEvent::SetTimestamp() twice in InitMouseEvent<>().
[wxWidgets.git] / tests / graphics / measuring.cpp
index 3c4cf96788174bd990f6eb322e30d6c96e5b56fe..a0b9803a55a06f553e9e50325654b6206f7f0a03 100644 (file)
@@ -13,7 +13,8 @@
 
 #include "testprec.h"
 
 
 #include "testprec.h"
 
-#if wxUSE_GRAPHICS_CONTEXT
+// wxCairoRenderer::CreateMeasuringContext() is not implement for wxX11
+#if wxUSE_GRAPHICS_CONTEXT && !defined(__WXX11__)
 
 #ifdef __BORLANDC__
     #pragma hdrstop
 
 #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 );
 
 // 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" );
 
 // ----------------------------------------------------------------------------
 CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( MeasuringContextTestCase, "MeasuringContextTestCase" );
 
 // ----------------------------------------------------------------------------