1
0
mirror of https://github.com/rzzzwilson/pymlac.git synced 2025-06-10 09:32:41 +00:00

Fudge around 'using DC when should not' problem

This commit is contained in:
Ross Wilson
2015-06-05 17:14:50 +07:00
parent f205f712b7
commit eff51a6f43

View File

@@ -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))