]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/streams/textstreamtest.cpp
capitalize the application name in GetAppDisplayName() by default; this results in...
[wxWidgets.git] / tests / streams / textstreamtest.cpp
index 13c9804334788def9756b21629c7e6076d6a8062..efc8ee8d33f17c7dbe219382be776be3654f80b6 100644 (file)
@@ -265,7 +265,7 @@ void TextStreamTestCase::TestInput(const wxMBConv& conv,
 
     CPPUNIT_ASSERT_EQUAL( WXSIZEOF(txtWchar), temp.length() );
 
-    CPPUNIT_ASSERT_EQUAL( 0, memcmp(txtWchar, temp.c_str(), sizeof(txtWchar)) );
+    CPPUNIT_ASSERT_EQUAL( 0, memcmp(txtWchar, temp.wc_str(), sizeof(txtWchar)) );
 }
 
 #endif // wxUSE_UNICODE