Remove wxUSE_STD_STRING and wxUSE_STD_CONTAINERS_COMPATIBLY

Assume they are always 1 now, there is no good reason to ever set them
to 0 any more.

Note that we still keep wxUSE_STD_IOSTREAM for now, but we can drop
wxUSE_STD_DEFAULT as it's not worth having it just for this single
option (previously it was used as the default value for 3 of them).
This commit is contained in:
Vadim Zeitlin 2022-11-16 23:18:57 +01:00
parent 2c0c727f49
commit be7860c766
29 changed files with 134 additions and 579 deletions

View file

@ -520,7 +520,6 @@ TEST_CASE("StdString::Substr", "[stdstring]")
CHECK( s1.substr( 17, 30 ) == wxT("") );
}
#if wxUSE_STD_STRING
TEST_CASE("StdString::Conversion", "[stdstring]")
{
std::string strStd("std::string value");
@ -575,7 +574,6 @@ TEST_CASE("StdString::Conversion", "[stdstring]")
CHECK( wxString("bye").utf8_string() == std::string("bye") );
}
#endif // wxUSE_STD_STRING
TEST_CASE("StdString::Algo", "[stdstring]")
{

View file

@ -122,7 +122,6 @@ TEST_CASE("SizetPrintf", "[wxString][Printf][vararg]")
== "size_t=0xA0" );
}
#if wxUSE_STD_STRING
TEST_CASE("StdString", "[wxString][Printf][vararg]")
{
// test passing std::[w]string
@ -137,7 +136,6 @@ TEST_CASE("StdString", "[wxString][Printf][vararg]")
s.Printf("string %s(%i).", wc, 2);
CHECK( s == "string widechar(2)." );
}
#endif // wxUSE_STD_STRING
#if wxUSE_LONGLONG
TEST_CASE("LongLongPrintf", "[wxString][Printf][vararg]")