if (w->InvokeDialogCallback(Pt_MOZ_DIALOG_CONFIRM, mTitle.ToNewCString(), mText.ToNewCString(), nsnull, nsnull) == Pt_CONTINUE)
if (w->InvokeDialogCallback(Pt_MOZ_DIALOG_CONFIRM, ToNewCString(mTitle), ToNewCString(mText), nsnull, nsnull) == Pt_CONTINUE)
NS_IMETHODIMP CPromptService::Confirm(nsIDOMWindow *parent,                                      const PRUnichar *dialogTitle,                                      const PRUnichar *text,                                      PRBool *_retval){	nsString 			mTitle(dialogTitle);	nsString 			mText(text);	CWebBrowserContainer *w = GetWebBrowser( parent );	if (w->InvokeDialogCallback(Pt_MOZ_DIALOG_CONFIRM, mTitle.ToNewCString(), mText.ToNewCString(), nsnull, nsnull) == Pt_CONTINUE)		*_retval = PR_TRUE;	else		*_retval = PR_FALSE;	return NS_OK;}