]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/strings/strings.cpp
only define wxUSE_NATIVE_STATUSBAR for the ports which have it (MSW and Mac)
[wxWidgets.git] / tests / strings / strings.cpp
index 8b1c6235b643873f6e77e70e96107af232f6de32..858bcab7d4ad991faeffb48128ca592cca947c9c 100644 (file)
@@ -195,6 +195,7 @@ void StringTestCase::Conversion()
         CPPUNIT_ASSERT( memcmp(theBuffer.data(), "The\0String", 11) == 0 );
 
         wxString szTheString2("The\0String", wxConvLocal, 10);
+        CPPUNIT_ASSERT( szTheString2.length() == 11 );
         CPPUNIT_ASSERT( wxTmemcmp(szTheString2.c_str(), L"The\0String", 11) == 0 );
 #else
         wxString szTheString(wxT("TheString"));