parameters: (self)
docstring: Makes this composite into a container by creating one child
          DivisionShape.
docstring_summary: Makes this composite into a container by creating one child
          DivisionShape.
docstring_tokens: Makes this composite into a container by creating one child DivisionShape .
function: def MakeContainer(self):
          """Makes this composite into a container by creating one child
          DivisionShape.
          """
          division = self.OnCreateDivision()
          self._divisions.append(division)
          self.AddChild(division)
  
          division.SetSize(self._width, self._height)
  
          dc = wx.ClientDC(self.GetCanvas())
          self.GetCanvas().PrepareDC(dc)
          
          division.Move(dc, self.GetX(), self.GetY())
          self.Recompute()
          division.Show(True)
function_tokens: def MakeContainer ( self ) : division = self . OnCreateDivision ( ) self . _divisions . append ( division ) self . AddChild ( division ) division . SetSize ( self . _width , self . _height ) dc = wx . ClientDC ( self . GetCanvas ( ) ) self . GetCanvas ( ) . PrepareDC ( dc ) division . Move ( dc , self . GetX ( ) , self . GetY ( ) ) self . Recompute ( ) division . Show ( True )