fixing sun/sparc i guess it didnt like the inline if/else statement. separating out.
git-svn-id: svn://10.0.0.236/trunk@79124 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
2af3d92098
commit
19449f7998
@ -1844,7 +1844,13 @@ printf("SetMouseDownState to FALSE - stopping cell selection\n");
|
||||
mSelectingTableCells = PR_FALSE;
|
||||
mStartSelectedCell = nsnull;
|
||||
mEndSelectedCell = nsnull;
|
||||
PostReason(aState?nsISelectionListener::MOUSEDOWN_REASON:nsISelectionListener::MOUSEUP_REASON);//not a drag reason
|
||||
|
||||
short reason;
|
||||
if (aState)
|
||||
reason = nsISelectionListener::MOUSEDOWN_REASON;
|
||||
else
|
||||
reason = nsISelectionListener::MOUSEUP_REASON;
|
||||
PostReason(reason);//not a drag reason
|
||||
NotifySelectionListeners(nsISelectionController::SELECTION_NORMAL);//notify that reason is mouse up please.
|
||||
}
|
||||
return NS_OK;
|
||||
|
||||
@ -1844,7 +1844,13 @@ printf("SetMouseDownState to FALSE - stopping cell selection\n");
|
||||
mSelectingTableCells = PR_FALSE;
|
||||
mStartSelectedCell = nsnull;
|
||||
mEndSelectedCell = nsnull;
|
||||
PostReason(aState?nsISelectionListener::MOUSEDOWN_REASON:nsISelectionListener::MOUSEUP_REASON);//not a drag reason
|
||||
|
||||
short reason;
|
||||
if (aState)
|
||||
reason = nsISelectionListener::MOUSEDOWN_REASON;
|
||||
else
|
||||
reason = nsISelectionListener::MOUSEUP_REASON;
|
||||
PostReason(reason);//not a drag reason
|
||||
NotifySelectionListeners(nsISelectionController::SELECTION_NORMAL);//notify that reason is mouse up please.
|
||||
}
|
||||
return NS_OK;
|
||||
|
||||
@ -1844,7 +1844,13 @@ printf("SetMouseDownState to FALSE - stopping cell selection\n");
|
||||
mSelectingTableCells = PR_FALSE;
|
||||
mStartSelectedCell = nsnull;
|
||||
mEndSelectedCell = nsnull;
|
||||
PostReason(aState?nsISelectionListener::MOUSEDOWN_REASON:nsISelectionListener::MOUSEUP_REASON);//not a drag reason
|
||||
|
||||
short reason;
|
||||
if (aState)
|
||||
reason = nsISelectionListener::MOUSEDOWN_REASON;
|
||||
else
|
||||
reason = nsISelectionListener::MOUSEUP_REASON;
|
||||
PostReason(reason);//not a drag reason
|
||||
NotifySelectionListeners(nsISelectionController::SELECTION_NORMAL);//notify that reason is mouse up please.
|
||||
}
|
||||
return NS_OK;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user