// we need to use decimal point, not comma or whatever is its value for the
// current locale
- wxSetlocale(LC_ALL, _T("C"));
+ wxSetlocale(LC_ALL, "C");
size_t n;
for ( n = 0; n < WXSIZEOF(doubleData); n++ )
wxString s("foo");
CPPUNIT_ASSERT( CheckStrConstWChar(s, s.c_str()) );
- CPPUNIT_ASSERT( CheckStrConstWChar(s, s) );
-
CPPUNIT_ASSERT( CheckStrConstChar(s, s.c_str()) );
+
+ // implicit conversion of wxString is not available in STL build
+#if !wxUSE_STL
+ CPPUNIT_ASSERT( CheckStrConstWChar(s, s) );
CPPUNIT_ASSERT( CheckStrConstChar(s, s) );
+#endif
}
void StringTestCase::ExplicitConversion()