mirror of
https://github.com/lalbornoz/roar.git
synced 2024-12-23 04:46:37 +00:00
MiRCART.py:MiRCARTCanvas.{onCharHook,__init__}(): removes wx.EVT_CHAR_HOOK event handler.
This commit is contained in:
parent
42e18ec252
commit
dcb4ca83bb
@ -96,11 +96,6 @@ class MiRCARTCanvas(wx.Panel):
|
||||
def getWidth(self):
|
||||
return self.canvasSize[0]
|
||||
# }}}
|
||||
# {{{ onCharHook(): XXX
|
||||
def onCharHook(self, event):
|
||||
keyCode = event.GetKeyCode()
|
||||
pass
|
||||
# }}}
|
||||
# {{{ onLeftDown(): XXX
|
||||
def onLeftDown(self, event):
|
||||
self._onMouseEvent(event)
|
||||
@ -154,7 +149,6 @@ class MiRCARTCanvas(wx.Panel):
|
||||
self.mircBg = 1; self.mircFg = 4;
|
||||
self.SetBackgroundStyle(wx.BG_STYLE_CUSTOM)
|
||||
|
||||
self.Bind(wx.EVT_CHAR_HOOK, self.onCharHook)
|
||||
self.Bind(wx.EVT_LEFT_DOWN, self.onLeftDown)
|
||||
self.Bind(wx.EVT_MOTION, self.onMotion)
|
||||
self.Bind(wx.EVT_PAINT, self.onPaint)
|
||||
|
Loading…
Reference in New Issue
Block a user