Mercurial > dwindows
comparison mac/dw.m @ 2219:2c82060fda42
Mac: Avoid warning building 32bit on some versions of MacOS.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Wed, 16 Dec 2020 05:59:11 +0000 |
parents | 70460d0afd03 |
children | b569023edb6f |
comparison
equal
deleted
inserted
replaced
2218:10a44abd0e83 | 2219:2c82060fda42 |
---|---|
9253 DW_FUNCTION_INIT; | 9253 DW_FUNCTION_INIT; |
9254 DWWebView *web = [[DWWebView alloc] init]; | 9254 DWWebView *web = [[DWWebView alloc] init]; |
9255 #if WK_API_ENABLED | 9255 #if WK_API_ENABLED |
9256 web.navigationDelegate = web; | 9256 web.navigationDelegate = web; |
9257 #else | 9257 #else |
9258 web.frameLoadDelegate = web; | 9258 web.frameLoadDelegate = (id)web; |
9259 #endif | 9259 #endif |
9260 /* [web setTag:cid]; Why doesn't this work? */ | 9260 /* [web setTag:cid]; Why doesn't this work? */ |
9261 DW_FUNCTION_RETURN_THIS(web); | 9261 DW_FUNCTION_RETURN_THIS(web); |
9262 } | 9262 } |
9263 | 9263 |