]> git.saurik.com Git - wxWidgets.git/commitdiff
always use wxPyPanel
authorRobin Dunn <robin@alldunn.com>
Fri, 6 Oct 2006 00:52:29 +0000 (00:52 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 6 Oct 2006 00:52:29 +0000 (00:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/wx/lib/buttonpanel.py

index d99ebee363dc957b47d5a4ce33c2ea7612b6c84f..0b3a26a8b16e834c19ec6c457d8971777ebb3b93 100644 (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 = []