diff --git a/include/wx/msw/webview_missing.h b/include/wx/msw/webview_missing.h index 514ae1e56c..f0e4ec6b9a 100644 --- a/include/wx/msw/webview_missing.h +++ b/include/wx/msw/webview_missing.h @@ -945,3 +945,24 @@ public: /* end of WinInet.h */ +/* ShObjldl_core.h */ + +typedef enum _wxNWMF +{ + wxNWMF_UNLOADING = 0x1, + wxNWMF_USERINITED = 0x2, + wxNWMF_FIRST = 0x4, + wxNWMF_OVERRIDEKEY = 0x8, + wxNWMF_SHOWHELP = 0x10, + wxNWMF_HTMLDIALOG = 0x20, + wxNWMF_FROMDIALOGCHILD = 0x40, + wxNWMF_USERREQUESTED = 0x80, + wxNWMF_USERALLOWED = 0x100, + wxNWMF_FORCEWINDOW = 0x10000, + wxNWMF_FORCETAB = 0x20000, + wxNWMF_SUGGESTWINDOW = 0x40000, + wxNWMF_SUGGESTTAB = 0x80000, + wxNWMF_INACTIVETAB = 0x100000 +} _wxNWMF; + +/* end of ShObjldl_core.h */ diff --git a/src/msw/webview_ie.cpp b/src/msw/webview_ie.cpp index 8df8c4b094..4dffa9605e 100644 --- a/src/msw/webview_ie.cpp +++ b/src/msw/webview_ie.cpp @@ -1477,7 +1477,7 @@ void wxWebViewIE::onActiveXEvent(wxActiveXEvent& evt) wxWebViewNavigationActionFlags navFlags = wxWEBVIEW_NAV_ACTION_OTHER; - if(flags & NWMF_USERINITED || flags & NWMF_USERREQUESTED) + if(flags & wxNWMF_USERINITED || flags & wxNWMF_USERREQUESTED) navFlags = wxWEBVIEW_NAV_ACTION_USER; wxWebViewEvent event(wxEVT_WEBVIEW_NEWWINDOW,