Fixed ChromeTabs not rendering properly in wx 3.0

Signed-off-by: Gleb Golubitsky <sectoid@gnolltech.org>
This commit is contained in:
Gleb Golubitsky
2014-11-08 17:33:04 +02:00
parent 5be0d4b70e
commit 7db13bd3ba

View File

@@ -669,6 +669,8 @@ class PFTabsContainer(wx.Panel):
"""
wx.Panel.__init__(self, parent, id, pos, size)
if wx.VERSION >= (3,0):
self.SetBackgroundStyle(wx.BG_STYLE_PAINT)
self.tabs = []
width, height = size