]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/strings/strings.cpp
added support for bitmaps in wxButton to wxOSX/Cocoa
[wxWidgets.git] / tests / strings / strings.cpp
index dd3e4a3133bd07e5b469e8e5afb12e752777fe32..87956929e2c65f5383ef37eedb5b0e2440cc434a 100644 (file)
@@ -943,9 +943,9 @@ void StringTestCase::ScopedBuffers()
     // but assigning it to wxCharBuffer makes a full copy
     wxCharBuffer buf(sbuf);
     CPPUNIT_ASSERT( buf.data() != literal );
-    CPPUNIT_ASSERT_EQUAL( literal, buf );
+    CPPUNIT_ASSERT_EQUAL( literal, buf.data() );
 
     wxCharBuffer buf2 = sbuf;
     CPPUNIT_ASSERT( buf2.data() != literal );
-    CPPUNIT_ASSERT_EQUAL( literal, buf );
+    CPPUNIT_ASSERT_EQUAL( literal, buf.data() );
 }