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:
@@ -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
|
||||
|
Reference in New Issue
Block a user