2ba852f28b534269ff49a360488aefe6a6f65812,lib/matplotlib/backends/backend_wx.py,FigureCanvasWx,_onKeyUp,#FigureCanvasWx#Any#,1013

Before Change


    def _onKeyUp(self, evt):
        Release key.
        key = self._get_key(evt)
        evt.Skip()
        FigureCanvasBase.key_release_event(self, key, guiEvent=evt)

    def _set_capture(self, capture=True):
        control wx mouse capture 

After Change


        Release key.
        key = self._get_key(evt)
        FigureCanvasBase.key_release_event(self, key, guiEvent=evt)
        if self:
            evt.Skip()

    def _set_capture(self, capture=True):
        control wx mouse capture 
        if self.HasCapture():
            self.ReleaseMouse()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: matplotlib/matplotlib
Commit Name: 2ba852f28b534269ff49a360488aefe6a6f65812
Time: 2018-02-11
Author: github@schwertberger.de
File Name: lib/matplotlib/backends/backend_wx.py
Class Name: FigureCanvasWx
Method Name: _onKeyUp


Project Name: matplotlib/matplotlib
Commit Name: 2ba852f28b534269ff49a360488aefe6a6f65812
Time: 2018-02-11
Author: github@schwertberger.de
File Name: lib/matplotlib/backends/backend_wx.py
Class Name: FigureCanvasWx
Method Name: _onKeyDown


Project Name: invesalius/invesalius3
Commit Name: 87b12fec5e2c9d84558e637a81569c936b0689ed
Time: 2017-03-31
Author: renan_hiroshi@hotmail.com
File Name: invesalius/gui/frame.py
Class Name: SliceToolBar
Method Name: OnToggle