Don't define INET_E_XXX symbols use only by wxWebViewIE in wx/msw/missing.h included by all files, this is unnecessary and also can result in problems if the application predefines WIN32_LEAN_AND_MEAN, as these symbols are not defined after including just windows.h in this case but are defined if urlmon.h is included later, e.g. by one of COM headers, as their definitions in urlmon.h would results in redefinition warnings.
Instead, define them only in webview_missing.h and include it after all Windows headers to ensure that these symbols are defined if they are present there (which is probably always the case by now).
https://github.com/wxWidgets/wxWidgets/pull/26400
(3 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()