Fixes #13475
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69085
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#endif
// For Visual C++ 6 and MinGW32. Used by webview_ie.cpp
#endif
// For Visual C++ 6 and MinGW32. Used by webview_ie.cpp
-
-#if defined (__MINGW32__) || (_MSC_VER < 1300)
-enum
-{
- OLECMDID_OPTICAL_ZOOM = 63
-};
-#endif
-
#ifndef INET_E_INVALID_CERTIFICATE
#define INET_E_INVALID_CERTIFICATE 0x800C0019L
#endif
#ifndef INET_E_INVALID_CERTIFICATE
#define INET_E_INVALID_CERTIFICATE 0x800C0019L
#endif
- HRESULT result = m_webBrowser->ExecWB((OLECMDID)OLECMDID_OPTICAL_ZOOM,
+ HRESULT result = m_webBrowser->ExecWB((OLECMDID)63 /*OLECMDID_OPTICAL_ZOOM*/,
OLECMDEXECOPT_DODEFAULT,
&zoomVariant,
NULL);
OLECMDEXECOPT_DODEFAULT,
&zoomVariant,
NULL);
VariantInit (&zoomVariant);
V_VT(&zoomVariant) = VT_I4;
VariantInit (&zoomVariant);
V_VT(&zoomVariant) = VT_I4;
- HRESULT result = m_webBrowser->ExecWB((OLECMDID)OLECMDID_OPTICAL_ZOOM,
+ HRESULT result = m_webBrowser->ExecWB((OLECMDID)63 /*OLECMDID_OPTICAL_ZOOM*/,
OLECMDEXECOPT_DODEFAULT, NULL,
&zoomVariant);
wxASSERT(result == S_OK);
OLECMDEXECOPT_DODEFAULT, NULL,
&zoomVariant);
wxASSERT(result == S_OK);