Remove semi-public wxWebSession::GetImpl()

It's better not to have this method in the public class, even if it
means that we need to pass a wxWebSessionImpl object to wxWebRequestImpl
ctor explicitly now.

No real changes.
This commit is contained in:
Vadim Zeitlin
2021-01-15 23:49:06 +01:00
parent 7677552087
commit a561cf199b
6 changed files with 12 additions and 8 deletions

View File

@@ -107,7 +107,10 @@ protected:
wxFileOffset m_dataSize;
wxScopedPtr<wxInputStream> m_dataStream;
wxWebRequestImpl(wxWebSession& session, wxEvtHandler* handler, int id);
wxWebRequestImpl(wxWebSession& session,
wxWebSessionImpl& sessionImpl,
wxEvtHandler* handler,
int id);
// Call SetState() with either State_Failed or State_Completed appropriate
// for the response status.