From eff51a6f435dff9a4dc75ee8d90f23216e4f6b2b Mon Sep 17 00:00:00 2001 From: Ross Wilson Date: Fri, 5 Jun 2015 17:14:50 +0700 Subject: [PATCH] Fudge around 'using DC when should not' problem --- pymlac/pymlac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymlac/pymlac b/pymlac/pymlac index 4a128b5..31da975 100755 --- a/pymlac/pymlac +++ b/pymlac/pymlac @@ -313,7 +313,7 @@ class Led_16(object): self.leds = [] mark_count = 2 ticks = [(x-17+led_width,y+led_height/2+5)] - dc = wx.PaintDC(parent) +# dc = wx.PaintDC(parent) for i in range(16): wx.StaticBitmap(parent, -1, off, pos=(x-1+i*17, y)) led = wx.StaticBitmap(parent, -1, on, pos=(x-1+i*17, y))