def enter(self): if _DEBUG: print "EditorState.enter" self.interface = wx.GetApp().projectObject from pig.editor.GraphicsManager import graphicsManager self.graphicsManager = graphicsManager PigState.enter(self) self.graphicsManager.boxDict.clear() wx.CallAfter(self.graphicsManager.set_selection, wx.GetApp().selectedObjectDict) if _DEBUG: print "EditorState.enter complete"