

def _left_up(self, event):
    self._set_color()
    if (not self._down):
        return
    self.control.ReleaseMouse()
    self._down = False
    if self._in_window:
        self.object.edit_traits(view=self.factory.view, parent=self.control)

dataset/ETHPy150Open enthought/traitsui/traitsui/wx/text_editor.py ReadonlyEditor._left_up/original