Merge branch 'web-request'

Add wxWebViewRequest and related classes allowing to use HTTPS and
HTTP/2.

See https://github.com/wxWidgets/wxWidgets/pull/977
This commit is contained in:
Vadim Zeitlin
2021-01-17 18:19:47 +01:00
100 changed files with 29554 additions and 185 deletions

View File

@@ -171,7 +171,13 @@ static void TestAssertHandler(const wxString& file,
CATCH_TRANSLATE_EXCEPTION(TestAssertFailure& e)
{
return e.m_msg.ToStdString(wxConvUTF8);
wxString desc = e.m_msg;
if ( desc.empty() )
desc.Printf(wxASCII_STR("Condition \"%s\" failed"), e.m_cond);
desc += wxString::Format(wxASCII_STR(" in %s() at %s:%d"), e.m_func, e.m_file, e.m_line);
return desc.ToStdString(wxConvUTF8);
}
#endif // wxDEBUG_LEVEL