hbox.Add(lb, 0, wx.ALIGN_LEFT|wx.ALL, 5)
elif isinstance(check,TwoPixelCheck):
choices = ["is the same as","is brighter than","is darker than"]
lb = wx.Choice(self, -1, (100, 50), choices = choices)
hbox.Add(lb, 0, wx.ALIGN_LEFT|wx.ALL, 5)
hbox.Add(lb, 0, wx.ALIGN_LEFT|wx.ALL, 5)
elif isinstance(check,TwoPixelCheck):
choices = ["is the same as","is brighter than","is darker than"]
lb = wx.Choice(self, -1, (100, 50), choices = choices)
hbox.Add(lb, 0, wx.ALIGN_LEFT|wx.ALL, 5)