mirror of
https://github.com/lalbornoz/roar.git
synced 2024-11-26 16:56:37 +00:00
MiRCARTCanvas.py: disable double buffering.
This commit is contained in:
parent
26937149fb
commit
dddce0757b
@ -221,7 +221,6 @@ class MiRCARTCanvas(wx.Panel):
|
|||||||
|
|
||||||
super().__init__(parent, pos=canvasPos, \
|
super().__init__(parent, pos=canvasPos, \
|
||||||
size=[w*h for w,h in zip(canvasSize, cellSize)])
|
size=[w*h for w,h in zip(canvasSize, cellSize)])
|
||||||
self.SetDoubleBuffered(True)
|
|
||||||
self.Bind(wx.EVT_CLOSE, self.onClose)
|
self.Bind(wx.EVT_CLOSE, self.onClose)
|
||||||
self.Bind(wx.EVT_ENTER_WINDOW, self.onMouseWindowEvent)
|
self.Bind(wx.EVT_ENTER_WINDOW, self.onMouseWindowEvent)
|
||||||
self.Bind(wx.EVT_LEAVE_WINDOW, self.onMouseWindowEvent)
|
self.Bind(wx.EVT_LEAVE_WINDOW, self.onMouseWindowEvent)
|
||||||
|
Loading…
Reference in New Issue
Block a user