Fix typo in wxWebSessionDelegate name

No real changes, just add the missing "a".
This commit is contained in:
Vadim Zeitlin
2020-12-13 20:45:18 +01:00
parent 2f77cbcdcd
commit 889e974700
2 changed files with 6 additions and 6 deletions

View File

@@ -14,7 +14,7 @@
DECLARE_WXCOCOA_OBJC_CLASS(NSURLSession);
DECLARE_WXCOCOA_OBJC_CLASS(NSURLSessionTask);
DECLARE_WXCOCOA_OBJC_CLASS(wxWebSessionDelegte);
DECLARE_WXCOCOA_OBJC_CLASS(wxWebSessionDelegate);
class wxWebSessionURLSession;
class wxWebResponseURLSession;
@@ -91,11 +91,11 @@ public:
WX_NSURLSession GetSession() { return m_session; }
WX_wxWebSessionDelegte GetDelegate() { return m_delegate; }
WX_wxWebSessionDelegate GetDelegate() { return m_delegate; }
private:
WX_NSURLSession m_session;
WX_wxWebSessionDelegte m_delegate;
WX_wxWebSessionDelegate m_delegate;
wxDECLARE_NO_COPY_CLASS(wxWebSessionURLSession);
};

View File

@@ -24,7 +24,7 @@
#include "wx/utils.h"
#endif
@interface wxWebSessionDelegte : NSObject <NSURLSessionDataDelegate>
@interface wxWebSessionDelegate : NSObject <NSURLSessionDataDelegate>
{
wxWebSessionURLSession* m_session;
NSMapTable* m_requests;
@@ -32,7 +32,7 @@
@end
@implementation wxWebSessionDelegte
@implementation wxWebSessionDelegate
- initWithSession:(wxWebSessionURLSession*)session
{
@@ -243,7 +243,7 @@ wxString wxWebResponseURLSession::GetSuggestedFileName() const
wxWebSessionURLSession::wxWebSessionURLSession()
{
m_delegate = [[wxWebSessionDelegte alloc] initWithSession:this];
m_delegate = [[wxWebSessionDelegate alloc] initWithSession:this];
m_session = [[NSURLSession sessionWithConfiguration:
[NSURLSessionConfiguration defaultSessionConfiguration]