if (w->InvokeDialogCallback(Pt_MOZ_DIALOG_CONFIRM, mTitle.ToNewCString(), mText.ToNewCString(), \ mMsg.ToNewCString(), &ret) == Pt_CONTINUE)
if (w->InvokeDialogCallback(Pt_MOZ_DIALOG_CONFIRM, ToNewCString(mTitle), ToNewCString(mText), \ ToNewCString(mMsg), &ret) == Pt_CONTINUE)
NS_IMETHODIMP CPromptService::Prompt(nsIDOMWindow *parent,                                     const PRUnichar *dialogTitle,                                     const PRUnichar *text,                                     PRUnichar **value,                                     const PRUnichar *checkboxMsg,                                     PRBool *checkValue,                                     PRBool *_retval){	nsString 	mTitle(dialogTitle);	nsString 	mText(text);	nsString 	mMsg(checkboxMsg);	int 		ret;	CWebBrowserContainer *w = GetWebBrowser( parent );	if (w->InvokeDialogCallback(Pt_MOZ_DIALOG_CONFIRM, mTitle.ToNewCString(), mText.ToNewCString(), \			mMsg.ToNewCString(), &ret) == Pt_CONTINUE)		*_retval = PR_TRUE;	else		*_retval = PR_FALSE;	*checkValue = ret;	return NS_OK;}