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:
@@ -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 = []
|
||||
|
||||
|
Reference in New Issue
Block a user