def METHOD_NAME(self, event):
    calEMGain = ccdCalibrator.getCalibratedCCDGain(float(self.tEMGain.GetValue()), self.cam.GetCCDTempSetPoint())
    if calEMGain == None:
        self.stTrueEMGain.SetLabel('True Gain = ????')
        self.stTrueEMGain.SetForegroundColour(wx.RED)
    else:
        self.stTrueEMGain.SetLabel('True Gain = %3.2f' % calEMGain)
        self.stTrueEMGain.SetForegroundColour(wx.BLUE)