]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/any/anytest.cpp
using ordinary Show for popup windows as on MSW which activates it as well, I'll...
[wxWidgets.git] / tests / any / anytest.cpp
index c746c30e5b05637e6aebeaabc44a6c8ed2b0591d..29dd5170a9898bf09f017db13bcce152621d690c 100644 (file)
@@ -313,17 +313,10 @@ void wxAnyTestCase::GetAs()
     short int si = 0;
     unsigned long ul = 0;
     wxString s;
-#if defined(__POWERPC__)
-    // FIXME: under wxOSX using float instead of double results in the heap
-    //        corruption, at least in the builds under PPC architecture for
-    //        some reason, disable them temporarily until this can be found.
-    double f = 0.0;
-#else
     // Let's test against float instead of double, since the former
     // is not the native underlying type the code converts to, but
     // should still work, all the same.
     float f = 0.0;
-#endif
     bool b = false;
 
     // Conversions from signed long type
@@ -410,7 +403,7 @@ void wxAnyTestCase::GetAs()
     res = m_anyDoubleDouble1.GetAs(&s);
     CPPUNIT_ASSERT(res);
     double d2;
-    res = s.ToDouble(&d2);
+    res = s.ToCDouble(&d2);
     CPPUNIT_ASSERT(res);
     CPPUNIT_ASSERT_DOUBLES_EQUAL(d2, TEST_FLOAT_CONST, FEQ_DELTA);
 }