]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/strings/strings.cpp
Don't use wxWindow::ClearBackground() in the image sample and explain why.
[wxWidgets.git] / tests / strings / strings.cpp
index 92dff3e9942cabf30b6707a291ada90dfdc8d536..a925df605e31f156336dc07611bb3a916261461a 100644 (file)
@@ -567,7 +567,7 @@ static const struct ToLongData
     { wxT("--1"), 0, Number_Invalid },
 
     { wxT("-1"), -1, Number_Signed | Number_Long },
-    // this is surprizing but consistent with strtoul() behaviour
+    // this is surprising but consistent with strtoul() behaviour
     { wxT("-1"), ULONG_MAX, Number_Unsigned | Number_Long },
 
     // this must overflow, even with 64 bit long
@@ -720,7 +720,7 @@ void StringTestCase::ToDouble()
     wxLocale *locale = new wxLocale;
     
     // don't load default catalog, it may be unavailable:
-    CPPUNIT_ASSERT( locale->Init(wxLANGUAGE_FRENCH, wxLOCALE_CONV_ENCODING) );
+    CPPUNIT_ASSERT( locale->Init(wxLANGUAGE_FRENCH, wxLOCALE_DONT_LOAD_DEFAULT) );
     
     static const struct ToDoubleData doubleData2[] =
     {