More deprecated fixes, and re-enable a working stats view

This commit is contained in:
Ryan Holmes
2017-06-14 03:51:19 -04:00
parent ba64f75f88
commit 3b546de070
22 changed files with 38 additions and 33 deletions

View File

@@ -46,7 +46,7 @@ class PFBitmapFrame(wx.Frame):
def OnWindowPaint(self, event):
rect = self.GetRect()
canvas = wx.EmptyBitmap(rect.width, rect.height)
canvas = wx.Bitmap(rect.width, rect.height)
mdc = wx.BufferedPaintDC(self)
mdc.SelectObject(canvas)
mdc.DrawBitmap(self.bitmap, 0, 0)