Remove references to sized_controls module after migrating from user code.

This commit is contained in:
kollivier
2017-11-08 11:34:57 -08:00
parent 941fd9f0f8
commit ad7638ae84

View File

@@ -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):
"""