always use wxPyPanel

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-10-06 00:52:29 +00:00
parent b2bfee6caa
commit 9d45af36fe

View File

@@ -241,9 +241,7 @@ class ButtonInfo:
# -- ButtonPanel class implementation ----------------------------------
# This is the main class.
BASE = wx.PyPanel
class ButtonPanel(BASE):
class ButtonPanel(wx.PyPanel):
def __init__(self, parent, id=wx.ID_ANY, text="", style=BP_DEFAULT_STYLE,
alignment=BP_ALIGN_RIGHT, name="buttonPanel"):
@@ -258,7 +256,7 @@ class ButtonPanel(BASE):
- name: window class name
"""
BASE.__init__(self, parent, id, wx.DefaultPosition, wx.DefaultSize,
wx.PyPanel.__init__(self, parent, id, wx.DefaultPosition, wx.DefaultSize,
wx.NO_BORDER, name=name)
self._vButtons = []