def METHOD_NAME(self, prnt):
    # generated method, don't edit
    wx.Panel.__init__(self, id=wxID_ANDORFRAME,
          parent=prnt, size=wx.Size(-1, -1))
    #self.SetClientSize(wx.Size(244, 327))
    vsizer=wx.BoxSizer(wx.VERTICAL)
    hsizer = wx.BoxSizer(wx.HORIZONTAL)
    sbCooling = wx.StaticBoxSizer(wx.StaticBox(self, -1, u'Cooling [\N{DEGREE SIGN}C]'), wx.VERTICAL)
    hsizer2 = wx.BoxSizer(wx.HORIZONTAL)
    self.tCCDTemp = wx.TextCtrl(self, -1, '0', size=(30, -1))
    hsizer2.Add(self.tCCDTemp, 1, wx.wx.RIGHT|wx.ALIGN_CENTER_VERTICAL, 5)
    sbCooling.Add(hsizer2, 0, wx.EXPAND|wx.ALIGN_CENTER_HORIZONTAL, 0)
    self.bSetTemp = wx.Button(self, -1, 'Set', style=wx.BU_EXACTFIT)
    self.bSetTemp.Bind(wx.EVT_BUTTON, self.OnBSetTempButton)
    hsizer2.Add(self.bSetTemp, 0, wx.ALIGN_CENTER_VERTICAL, 0)
    hsizer.Add(sbCooling, 1, wx.EXPAND|wx.RIGHT, 5)
    sbEMGain = wx.StaticBoxSizer(wx.StaticBox(self, -1, 'EM Gain', size=(30, -1)), wx.VERTICAL)
    hsizer2 = wx.BoxSizer(wx.HORIZONTAL)
    self.tEMGain = wx.ComboBox(self, -1, '0', choices=['0', '%d' % self.cam.DefaultEMGain], size=[30,-1], style=wx.CB_DROPDOWN|wx.TE_PROCESS_ENTER)
    self.tEMGain.Bind(wx.EVT_TEXT, self.OnEMGainTextChange)
    self.tEMGain.Bind(wx.EVT_TEXT_ENTER, self.OnBSetGainButton)
    self.tEMGain.Bind(wx.EVT_COMBOBOX, self.OnBSetGainButton)
    hsizer2.Add(self.tEMGain, 1, wx.EXPAND|wx.RIGHT|wx.ALIGN_CENTER_VERTICAL, 5)
    self.bSetGain = wx.Button(self, -1, 'Set', style=wx.BU_EXACTFIT)
    self.bSetGain.Bind(wx.EVT_BUTTON, self.OnBSetGainButton)
    hsizer2.Add(self.bSetGain, 0, wx.EXPAND|wx.ALIGN_CENTER_VERTICAL, 0)
    sbEMGain.Add(hsizer2, 0, wx.EXPAND|wx.ALIGN_CENTER_HORIZONTAL, 0)
    self.stTrueEMGain = wx.StaticText(self, -1, '????')
    self.stTrueEMGain.SetForegroundColour(wx.RED)
    sbEMGain.Add(self.stTrueEMGain, 0, wx.EXPAND|wx.ALIGN_CENTER_HORIZONTAL, 0)
    hsizer.Add(sbEMGain, 1, wx.EXPAND|wx.ALIGN_CENTER_VERTICAL, 0)
    vsizer.Add(hsizer, 0, wx.EXPAND|wx.ALIGN_CENTER_HORIZONTAL, 0)
    self.cbShutter = wx.CheckBox(self, -1, u'Spurious Noise Filter')
    self.cbShutter.SetValue(False)
    self.cbShutter.Bind(wx.EVT_CHECKBOX, self.OnCbShutterCheckbox)
    vsizer.Add(self.cbShutter, 0, wx.ALIGN_CENTER_VERTICAL|wx.TOP, 5)
    self.cbStaticBlemishCorrection = wx.CheckBox(self, -1, u'Static Blemish Correction')
    self.cbStaticBlemishCorrection.SetValue(False)
    self.cbStaticBlemishCorrection.Bind(wx.EVT_CHECKBOX, self.OnCbStaticBlemishCorrection)
    vsizer.Add(self.cbStaticBlemishCorrection, 0, wx.ALIGN_CENTER_VERTICAL|wx.TOP, 5)
    self.SetSizer(vsizer)