diff --git a/gui/utils/drawUtils.py b/gui/utils/drawUtils.py index f6c80b9d3..759efd251 100644 --- a/gui/utils/drawUtils.py +++ b/gui/utils/drawUtils.py @@ -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)