code: def displayMakewcsWarningBox(display=True, parent=None):
      
      if sys.version_info[0] >= 3:
          from tkinter.messagebox import showwarning
      else:
          from tkMessageBox import showwarning
  
      ans = {'yes':True,'no':False}
      if ans[display]:
          msg = 'Setting "updatewcs=yes" will result '+ \
                'in all input WCS values to be recomputed '+ \
                'using the original distortion model and alignment.'
          showwarning(parent=parent,message=msg, title="WCS will be overwritten!")
      return True
docs: Displays a warning box for the 'makewcs' parameter.