Merge branch 'webrequest-build-fixes' of https://github.com/MaartenBent/wxWidgets

wxWebRequest-related build fixes for MinGW.

See https://github.com/wxWidgets/wxWidgets/pull/2283
This commit is contained in:
Vadim Zeitlin
2021-03-23 14:16:07 +01:00
13 changed files with 149 additions and 57 deletions

View File

@@ -136,6 +136,8 @@ public:
~wxWebSessionWinHTTP();
static bool Initialize();
wxWebRequestImplPtr
CreateRequest(wxWebSession& session,
wxEvtHandler* handler,
@@ -163,7 +165,14 @@ class wxWebSessionFactoryWinHTTP : public wxWebSessionFactory
{
public:
wxWebSessionImpl* Create() wxOVERRIDE
{ return new wxWebSessionWinHTTP(); }
{
return new wxWebSessionWinHTTP();
}
bool Initialize() wxOVERRIDE
{
return wxWebSessionWinHTTP::Initialize();
}
};
#endif // _WX_MSW_WEBREQUEST_WINHTTP_H