Removing deprecated and unneeded wxpython construction.

This commit is contained in:
Cas Cremers 2019-01-03 22:53:53 +01:00
parent 346238a4ba
commit 6f881d0b54

View File

@ -93,7 +93,9 @@ class AttackDisplay(wx.ScrolledWindow):
# This is needed, don't ask me why. # This is needed, don't ask me why.
self.SetScrollbars(0,0,0,0,0,0) self.SetScrollbars(0,0,0,0,0,0)
(framewidth,frameheight) = self.GetClientSizeTuple() size = self.GetClientSize()
framewidth = size.width
frameheight = size.height
(virtualwidth,virtualheight) = (framewidth,frameheight) (virtualwidth,virtualheight) = (framewidth,frameheight)
def makefit(width,height): def makefit(width,height):