window->GetPrompterer(getter_AddRefs(dialog));
window->GetPrompter(getter_AddRefs(dialog));
Wallet_Confirm(PRUnichar * szMessage, nsIDOMWindow* window){  PRBool retval = PR_TRUE; /* default value */  nsresult res;    nsCOMPtr<nsIPrompt> dialog;   window->GetPrompterer(getter_AddRefs(dialog));   if (!dialog) {    return retval;  }   const nsAutoString message = szMessage;  retval = PR_FALSE; /* in case user exits dialog by clicking X */  res = dialog->Confirm(nsnull, message.GetUnicode(), &retval);  return retval;}