Fix typo in wxWebSessionDelegate name
No real changes, just add the missing "a".
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
DECLARE_WXCOCOA_OBJC_CLASS(NSURLSession);
|
DECLARE_WXCOCOA_OBJC_CLASS(NSURLSession);
|
||||||
DECLARE_WXCOCOA_OBJC_CLASS(NSURLSessionTask);
|
DECLARE_WXCOCOA_OBJC_CLASS(NSURLSessionTask);
|
||||||
DECLARE_WXCOCOA_OBJC_CLASS(wxWebSessionDelegte);
|
DECLARE_WXCOCOA_OBJC_CLASS(wxWebSessionDelegate);
|
||||||
|
|
||||||
class wxWebSessionURLSession;
|
class wxWebSessionURLSession;
|
||||||
class wxWebResponseURLSession;
|
class wxWebResponseURLSession;
|
||||||
@@ -91,11 +91,11 @@ public:
|
|||||||
|
|
||||||
WX_NSURLSession GetSession() { return m_session; }
|
WX_NSURLSession GetSession() { return m_session; }
|
||||||
|
|
||||||
WX_wxWebSessionDelegte GetDelegate() { return m_delegate; }
|
WX_wxWebSessionDelegate GetDelegate() { return m_delegate; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
WX_NSURLSession m_session;
|
WX_NSURLSession m_session;
|
||||||
WX_wxWebSessionDelegte m_delegate;
|
WX_wxWebSessionDelegate m_delegate;
|
||||||
|
|
||||||
wxDECLARE_NO_COPY_CLASS(wxWebSessionURLSession);
|
wxDECLARE_NO_COPY_CLASS(wxWebSessionURLSession);
|
||||||
};
|
};
|
||||||
|
@@ -24,7 +24,7 @@
|
|||||||
#include "wx/utils.h"
|
#include "wx/utils.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@interface wxWebSessionDelegte : NSObject <NSURLSessionDataDelegate>
|
@interface wxWebSessionDelegate : NSObject <NSURLSessionDataDelegate>
|
||||||
{
|
{
|
||||||
wxWebSessionURLSession* m_session;
|
wxWebSessionURLSession* m_session;
|
||||||
NSMapTable* m_requests;
|
NSMapTable* m_requests;
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@implementation wxWebSessionDelegte
|
@implementation wxWebSessionDelegate
|
||||||
|
|
||||||
- initWithSession:(wxWebSessionURLSession*)session
|
- initWithSession:(wxWebSessionURLSession*)session
|
||||||
{
|
{
|
||||||
@@ -243,7 +243,7 @@ wxString wxWebResponseURLSession::GetSuggestedFileName() const
|
|||||||
|
|
||||||
wxWebSessionURLSession::wxWebSessionURLSession()
|
wxWebSessionURLSession::wxWebSessionURLSession()
|
||||||
{
|
{
|
||||||
m_delegate = [[wxWebSessionDelegte alloc] initWithSession:this];
|
m_delegate = [[wxWebSessionDelegate alloc] initWithSession:this];
|
||||||
|
|
||||||
m_session = [[NSURLSession sessionWithConfiguration:
|
m_session = [[NSURLSession sessionWithConfiguration:
|
||||||
[NSURLSessionConfiguration defaultSessionConfiguration]
|
[NSURLSessionConfiguration defaultSessionConfiguration]
|
||||||
|
Reference in New Issue
Block a user