X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/96457e6705faf698949ec081dc6631f19f0d9c9c..fd5cfba71157c481b5bc90563d0d990ec67ecb11:/include/wx/msw/webview_ie.h diff --git a/include/wx/msw/webview_ie.h b/include/wx/msw/webview_ie.h index e0254694bc..188d657842 100644 --- a/include/wx/msw/webview_ie.h +++ b/include/wx/msw/webview_ie.h @@ -200,7 +200,7 @@ public: virtual HRESULT wxSTDCALL GetHostInfo(DOCHOSTUIINFO *pInfo) = 0; - virtual HRESULT wxSTDCALL ShowUI(DWORD dwID, + virtual HRESULT wxSTDCALL ShowUI(DWORD dwID, IOleInPlaceActiveObject *pActiveObject, IOleCommandTarget *pCommandTarget, IOleInPlaceFrame *pFrame, @@ -209,7 +209,7 @@ public: virtual HRESULT wxSTDCALL HideUI(void) = 0; virtual HRESULT wxSTDCALL UpdateUI(void) = 0; - + virtual HRESULT wxSTDCALL EnableModeless(BOOL fEnable) = 0; virtual HRESULT wxSTDCALL OnDocWindowActivate(BOOL fActivate) = 0; @@ -220,11 +220,11 @@ public: IOleInPlaceUIWindow *pUIWindow, BOOL fRameWindow) = 0; - virtual HRESULT wxSTDCALL TranslateAccelerator(LPMSG lpMsg, + virtual HRESULT wxSTDCALL TranslateAccelerator(LPMSG lpMsg, const GUID *pguidCmdGroup, DWORD nCmdID) = 0; - virtual HRESULT wxSTDCALL GetOptionKeyPath(__out LPOLESTR *pchKey, + virtual HRESULT wxSTDCALL GetOptionKeyPath(LPOLESTR *pchKey, DWORD dw) = 0; virtual HRESULT wxSTDCALL GetDropTarget(IDropTarget *pDropTarget, @@ -233,8 +233,8 @@ public: virtual HRESULT wxSTDCALL GetExternal(IDispatch **ppDispatch) = 0; virtual HRESULT wxSTDCALL TranslateUrl(DWORD dwTranslate, - __in __nullterminated OLECHAR *pchURLIn, - __out OLECHAR **ppchURLOut) = 0; + OLECHAR *pchURLIn, + OLECHAR **ppchURLOut) = 0; virtual HRESULT wxSTDCALL FilterDataObject(IDataObject *pDO, IDataObject **ppDORet) = 0; @@ -384,6 +384,8 @@ private: bool CanExecCommand(wxString command) const; void ExecCommand(wxString command); IHTMLDocument2* GetDocument() const; + //Toggles control features see INTERNETFEATURELIST for values. + bool EnableControlFeature(long flag, bool enable = true); wxDECLARE_DYNAMIC_CLASS(wxWebViewIE); }; @@ -466,7 +468,7 @@ public: virtual HRESULT wxSTDCALL ShowContextMenu(DWORD dwID, POINT *ppt, IUnknown *pcmdtReserved, IDispatch *pdispReserved); - + virtual HRESULT wxSTDCALL GetHostInfo(DOCHOSTUIINFO *pInfo); virtual HRESULT wxSTDCALL ShowUI(DWORD dwID, @@ -493,7 +495,7 @@ public: const GUID *pguidCmdGroup, DWORD nCmdID); - virtual HRESULT wxSTDCALL GetOptionKeyPath(LPOLESTR *pchKey, + virtual HRESULT wxSTDCALL GetOptionKeyPath(LPOLESTR *pchKey, DWORD dw); virtual HRESULT wxSTDCALL GetDropTarget(IDropTarget *pDropTarget,