Fixed a little oopsie in gui.utils.drawUtils.DrawFilledBitmap

This commit is contained in:
HomeWorld
2010-12-09 19:52:16 +02:00
parent 667433dee5
commit ff130f910c

View File

@@ -25,7 +25,7 @@ def DrawFilledBitmap(width, height, color):
mdc = wx.MemoryDC()
mdc.SelectObject(canvas)
mdc.SetBrush(wx.Brush(color))
mdc.SetBackground(wx.Brush(color))
mdc.Clear()
mdc.SelectObject(wx.NullBitmap)