Skip to content
Permalink
Browse files

Merge pull request #130 from Pyfa-fit/bugfix_ID_name

Bugfix: Revert ID name change
  • Loading branch information...
Ebag333 committed Jun 26, 2017
2 parents abfdd49 + e1ab37e commit a5a91b96fd55bcf162dd74857e16ee22f539497a
Showing with 3 additions and 3 deletions.
  1. +3 −3 gui/chromeTabs.py
@@ -741,14 +741,14 @@ def _Render(self):


class PFTabsContainer(wx.Panel):
def __init__(self, parent, pos=(0, 0), size=(100, 22), init_id=wx.ID_ANY, canAdd=True):
def __init__(self, parent, pos=(0, 0), size=(100, 22), id=wx.ID_ANY, canAdd=True):
"""
Defines the tab container. Handles functions such as tab selection and
dragging, and defines minimum width of tabs (all tabs are of equal width,
which is determined via widest tab). Also handles the tab preview, if any.
"""

wx.Panel.__init__(self, parent, init_id, pos, size)
wx.Panel.__init__(self, parent, id, pos, size)
if wx.VERSION >= (3, 0):
self.SetBackgroundStyle(wx.BG_STYLE_PAINT)

@@ -1384,7 +1384,7 @@ def __init__(self, parent, pos, bitmap, title):
wx.Frame.__init__(
self,
parent,
init_id=wx.ID_ANY,
id=wx.ID_ANY,
title=wx.EmptyString,
pos=pos,
size=wx.DefaultSize,

0 comments on commit a5a91b9

Please sign in to comment.
You can’t perform that action at this time.