build bustage fix for older C++ compilers; false -> PR_FALSE; r=cls

This commit is contained in:
tor%cs.brown.edu 2000-01-16 17:06:08 +00:00
parent 256f4a21cc
commit 28e11c285f
5 changed files with 32 additions and 32 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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;

View File

@ -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;

View File

@ -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);