Commit cd68aacb authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Move HTMLTextContainerEvents connection point to HTMLTextContainer object.

parent 2bcd1f0e
......@@ -41,7 +41,6 @@ typedef struct {
const IHTMLBodyElementVtbl *lpHTMLBodyElementVtbl;
ConnectionPoint cp_propnotif;
ConnectionPoint cp_txtcontevents;
nsIDOMHTMLBodyElement *nsbody;
} HTMLBodyElement;
......@@ -502,8 +501,6 @@ HTMLElement *HTMLBodyElement_Create(nsIDOMHTMLElement *nselem)
ret->textcont.element.node.vtbl = &HTMLBodyElementImplVtbl;
ConnectionPoint_Init(&ret->cp_propnotif, &ret->textcont.element.cp_container, &IID_IPropertyNotifySink);
ConnectionPoint_Init(&ret->cp_txtcontevents, &ret->textcont.element.cp_container,
&DIID_HTMLTextContainerEvents);
nsres = nsIDOMHTMLElement_QueryInterface(nselem, &IID_nsIDOMHTMLBodyElement,
(void**)&ret->nsbody);
......
......@@ -216,4 +216,6 @@ void HTMLTextContainer_Init(HTMLTextContainer *This)
HTMLElement_Init(&This->element);
This->lpHTMLTextContainerVtbl = &HTMLTextContainerVtbl;
ConnectionPoint_Init(&This->cp, &This->element.cp_container, &DIID_HTMLTextContainerEvents);
}
......@@ -297,6 +297,8 @@ typedef struct {
HTMLElement element;
const IHTMLTextContainerVtbl *lpHTMLTextContainerVtbl;
ConnectionPoint cp;
} HTMLTextContainer;
#define HTMLWINDOW2(x) ((IHTMLWindow2*) &(x)->lpHTMLWindow2Vtbl)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment