nsnull, szCheckMessage, checkValue, &buttonPressed);
nsnull, nsnull, nsnull, szCheckMessage, checkValue, &buttonPressed);
Wallet_CheckConfirmYN    (PRUnichar * szMessage, PRUnichar * szCheckMessage, PRBool* checkValue,     nsIDOMWindowInternal* window) {  nsresult res;  nsCOMPtr<nsIPrompt> dialog;   window->GetPrompter(getter_AddRefs(dialog));   if (!dialog) {    return PR_FALSE;  }   PRInt32 buttonPressed = 1; /* in case user exits dialog by clickin X */  PRUnichar * confirm_string = Wallet_Localize("Confirm");  res = dialog->ConfirmEx(confirm_string, szMessage,                          (nsIPrompt::BUTTON_TITLE_YES * nsIPrompt::BUTTON_POS_0) +                          (nsIPrompt::BUTTON_TITLE_NO * nsIPrompt::BUTTON_POS_1),                          nsnull, szCheckMessage, checkValue, &buttonPressed);  if (NS_FAILED(res)) {    *checkValue = 0;  }  if (*checkValue!=0 && *checkValue!=1) {    NS_ASSERTION(PR_FALSE, "Bad result from checkbox");    *checkValue = 0; /* this should never happen but it is happening!!! */  }  Recycle(confirm_string);  return (buttonPressed == 0);}