Even more fixes

This commit is contained in:
Ryan Holmes
2017-06-13 15:01:30 -04:00
parent 1cbd8ee901
commit 2bbcd96ce3
11 changed files with 22 additions and 21 deletions

View File

@@ -134,7 +134,7 @@ class Display(wx.ListCtrl):
items_rect = wx.Rect(topRect.left, 0, bottomRect.right - topRect.left, bottomRect.bottom)
updateRegion = wx.Region(x, y, w, h)
updateRegion.SubtractRect(items_rect)
updateRegion.Subtract(items_rect)
dc.DestroyClippingRegion()
dc.SetClippingRegionAsRegion(updateRegion)