+
+}
+
+#if wxUSE_STD_STRING
+void VarArgTestCase::StdString()
+{
+ // test passing std::[w]string
+ wxString s;
+
+ std::string mb("multi-byte");
+ std::string wc("widechar");
+
+ s.Printf("string %s(%i).", mb, 1);
+ CPPUNIT_ASSERT( s == "string multi-byte(1)." );
+
+ s.Printf("string %s(%i).", wc, 2);
+ CPPUNIT_ASSERT( s == "string widechar(2)." );