+ if isinstance(check, AreaPlain):
+ setdefault(lb,0)
+ elif isinstance(check, AreaNotPlain):
+ setdefault(lb,1)
+ else:
+ setdefault(lb,2)
+ tb = wx.TextCtrl(self, -1, check.text, size=(100, 25))
+ self.id2check[tb.Id] = check
+ self.Bind(wx.EVT_TEXT, self.text, tb)
+
+ hbox.Add(tb, 0, wx.ALIGN_LEFT|wx.ALL, 5)