- menu.Append(x, str(x), kind=wxITEM_CHECK)
- EVT_MENU_RANGE(self, 1, self.maxThickness, self.OnMenuSetThickness)
- EVT_UPDATE_UI_RANGE(self, 1, self.maxThickness, self.OnCheckMenuThickness)
+ menu.Append(x, str(x), kind=wx.ITEM_CHECK)
+ wx.EVT_MENU_RANGE(self, 1, self.maxThickness, self.OnMenuSetThickness)
+ wx.EVT_UPDATE_UI_RANGE(self, 1, self.maxThickness, self.OnCheckMenuThickness)