Fix missing enum in MinGW
This commit is contained in:
@@ -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 */
|
||||
|
@@ -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,
|
||||
|
Reference in New Issue
Block a user