mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 19:10:09 +01:00
Remove references to sized_controls module after migrating from user code.
This commit is contained in:
@@ -917,10 +917,10 @@ class SizedFrame(wx.Frame):
|
||||
return self.mainPanel
|
||||
|
||||
|
||||
class SizedStaticBox(wx.StaticBox, sc.SizedParent):
|
||||
class SizedStaticBox(wx.StaticBox, SizedParent):
|
||||
def __init__(self, *args, **kwargs):
|
||||
wx.StaticBox.__init__(self, *args, **kwargs)
|
||||
sizer = wx.BoxSizer(wx.VERTICAL) #TableSizer(1, 0)
|
||||
sizer = wx.BoxSizer(wx.VERTICAL)
|
||||
self.SetSizer(sizer)
|
||||
self.sizerType = "vertical"
|
||||
|
||||
@@ -929,7 +929,7 @@ class SizedStaticBox(wx.StaticBox, sc.SizedParent):
|
||||
Called automatically by wx, do not call it from user code.
|
||||
"""
|
||||
wx.StaticBox.AddChild(self, child)
|
||||
sc.SizedParent.AddChild(self, child)
|
||||
SizedParent.AddChild(self, child)
|
||||
|
||||
def _SetNewSizer(self, sizer):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user