Clean up a bunch of unused variables

This commit is contained in:
Ebag333
2017-02-09 00:22:14 -08:00
parent f61aeb8285
commit f2c84692a9
9 changed files with 5 additions and 18 deletions

View File

@@ -1123,8 +1123,6 @@ class PFTabsContainer(wx.Panel):
else:
mdc = wx.BufferedPaintDC(self)
selected = 0
if 'wxMac' in wx.PlatformInfo and wx.VERSION < (3, 0):
color = wx.Colour(0, 0, 0)
brush = wx.Brush(color)
@@ -1260,7 +1258,7 @@ class PFTabsContainer(wx.Panel):
if self.tabMinWidth < 1:
self.tabMinWidth = 1
for tab in self.tabs:
w, h = tab.GetSize()
tab.GetSize()
tab.SetSize((self.tabMinWidth, self.height))
if self.GetTabsCount() > 0: