mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 18:51:28 +00:00
build bustage fix for older C++ compilers; false -> PR_FALSE; r=cls
This commit is contained in:
parent
256f4a21cc
commit
28e11c285f
@ -669,10 +669,10 @@ nsHTMLInputElement::Click()
|
||||
nsMouseEvent event;
|
||||
event.eventStructType = NS_GUI_EVENT;
|
||||
event.message = NS_MOUSE_LEFT_CLICK;
|
||||
event.isShift = false;
|
||||
event.isControl = false;
|
||||
event.isAlt = false;
|
||||
event.isMeta = false;
|
||||
event.isShift = PR_FALSE;
|
||||
event.isControl = PR_FALSE;
|
||||
event.isAlt = PR_FALSE;
|
||||
event.isMeta = PR_FALSE;
|
||||
event.clickCount = 0;
|
||||
event.widget = nsnull;
|
||||
rv = HandleDOMEvent(context, &event, nsnull, NS_EVENT_FLAG_INIT, &status);
|
||||
|
@ -669,10 +669,10 @@ nsHTMLInputElement::Click()
|
||||
nsMouseEvent event;
|
||||
event.eventStructType = NS_GUI_EVENT;
|
||||
event.message = NS_MOUSE_LEFT_CLICK;
|
||||
event.isShift = false;
|
||||
event.isControl = false;
|
||||
event.isAlt = false;
|
||||
event.isMeta = false;
|
||||
event.isShift = PR_FALSE;
|
||||
event.isControl = PR_FALSE;
|
||||
event.isAlt = PR_FALSE;
|
||||
event.isMeta = PR_FALSE;
|
||||
event.clickCount = 0;
|
||||
event.widget = nsnull;
|
||||
rv = HandleDOMEvent(context, &event, nsnull, NS_EVENT_FLAG_INIT, &status);
|
||||
|
@ -1231,10 +1231,10 @@ nsMenuFrame::Execute()
|
||||
nsMouseEvent event;
|
||||
event.eventStructType = NS_EVENT;
|
||||
event.message = NS_MENU_ACTION;
|
||||
event.isShift = false;
|
||||
event.isControl = false;
|
||||
event.isAlt = false;
|
||||
event.isMeta = false;
|
||||
event.isShift = PR_FALSE;
|
||||
event.isControl = PR_FALSE;
|
||||
event.isAlt = PR_FALSE;
|
||||
event.isMeta = PR_FALSE;
|
||||
event.clickCount = 0;
|
||||
event.widget = nsnull;
|
||||
mContent->HandleDOMEvent(mPresContext, &event, nsnull, NS_EVENT_FLAG_INIT, &status);
|
||||
@ -1261,10 +1261,10 @@ nsMenuFrame::OnCreate()
|
||||
nsMouseEvent event;
|
||||
event.eventStructType = NS_EVENT;
|
||||
event.message = NS_MENU_CREATE;
|
||||
event.isShift = false;
|
||||
event.isControl = false;
|
||||
event.isAlt = false;
|
||||
event.isMeta = false;
|
||||
event.isShift = PR_FALSE;
|
||||
event.isControl = PR_FALSE;
|
||||
event.isAlt = PR_FALSE;
|
||||
event.isMeta = PR_FALSE;
|
||||
event.clickCount = 0;
|
||||
event.widget = nsnull;
|
||||
|
||||
@ -1288,10 +1288,10 @@ nsMenuFrame::OnDestroy()
|
||||
nsMouseEvent event;
|
||||
event.eventStructType = NS_EVENT;
|
||||
event.message = NS_MENU_DESTROY;
|
||||
event.isShift = false;
|
||||
event.isControl = false;
|
||||
event.isAlt = false;
|
||||
event.isMeta = false;
|
||||
event.isShift = PR_FALSE;
|
||||
event.isControl = PR_FALSE;
|
||||
event.isAlt = PR_FALSE;
|
||||
event.isMeta = PR_FALSE;
|
||||
event.clickCount = 0;
|
||||
event.widget = nsnull;
|
||||
|
||||
|
@ -503,10 +503,10 @@ nsPopupSetFrame::OnCreate(nsIContent* aPopupContent)
|
||||
nsMouseEvent event;
|
||||
event.eventStructType = NS_EVENT;
|
||||
event.message = NS_MENU_CREATE;
|
||||
event.isShift = false;
|
||||
event.isControl = false;
|
||||
event.isAlt = false;
|
||||
event.isMeta = false;
|
||||
event.isShift = PR_FALSE;
|
||||
event.isControl = PR_FALSE;
|
||||
event.isAlt = PR_FALSE;
|
||||
event.isMeta = PR_FALSE;
|
||||
event.clickCount = 0;
|
||||
event.widget = nsnull;
|
||||
|
||||
@ -526,10 +526,10 @@ nsPopupSetFrame::OnDestroy()
|
||||
nsMouseEvent event;
|
||||
event.eventStructType = NS_EVENT;
|
||||
event.message = NS_MENU_DESTROY;
|
||||
event.isShift = false;
|
||||
event.isControl = false;
|
||||
event.isAlt = false;
|
||||
event.isMeta = false;
|
||||
event.isShift = PR_FALSE;
|
||||
event.isControl = PR_FALSE;
|
||||
event.isAlt = PR_FALSE;
|
||||
event.isMeta = PR_FALSE;
|
||||
event.clickCount = 0;
|
||||
event.widget = nsnull;
|
||||
|
||||
|
@ -1252,10 +1252,10 @@ nsTitledButtonFrame::MouseClicked (nsIPresContext* aPresContext)
|
||||
nsMouseEvent event;
|
||||
event.eventStructType = NS_EVENT;
|
||||
event.message = NS_MENU_ACTION;
|
||||
event.isShift = false;
|
||||
event.isControl = false;
|
||||
event.isAlt = false;
|
||||
event.isMeta = false;
|
||||
event.isShift = PR_FALSE;
|
||||
event.isControl = PR_FALSE;
|
||||
event.isAlt = PR_FALSE;
|
||||
event.isMeta = PR_FALSE;
|
||||
event.clickCount = 0;
|
||||
event.widget = nsnull;
|
||||
mContent->HandleDOMEvent(aPresContext, &event, nsnull, NS_EVENT_FLAG_INIT, &status);
|
||||
|
Loading…
Reference in New Issue
Block a user