Bug=80792

author=ashuk
Files modified
java/webclient/src_moz/CBrowserContainer.cpp
java/dom/jni/org_mozilla_dom_events_MousEventImpl.cpp

This patch allows Webclient and JavaDOM to build with the
mozilla trunk as of 05/14/01


git-svn-id: svn://10.0.0.236/trunk@94906 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ashuk%eng.sun.com
2001-05-15 00:03:22 +00:00
parent 7178fe0937
commit 672f92400d
2 changed files with 15 additions and 16 deletions

View File

@@ -351,16 +351,20 @@ JNIEXPORT void JNICALL Java_org_mozilla_dom_events_MouseEventImpl_initMouseEvent
PRBool metaKeyArg = jmetaKeyArg == JNI_TRUE ? PR_TRUE : PR_FALSE;
nsresult rv = event->InitMouseEvent(*cvalue,
ctrlKeyArg,
altKeyArg,
shiftKeyArg,
metaKeyArg,
canBubble,
cancelable,
(nsIDOMAbstractView*) jviewArg,
(PRUint16)jdetailArg,
(PRInt32)jscreenXArg,
(PRInt32)jscreenYArg,
(PRInt32)jclientXArg,
(PRInt32)jclientYArg,
(PRInt32)jclientYArg,
ctrlKeyArg,
altKeyArg,
shiftKeyArg,
metaKeyArg,
(PRUint16)jbuttonArg,
(PRUint16)jdetailArg);
(nsIDOMEventTarget*) jrelatedNodeArg);
nsMemory::Free(cvalue);