]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/LayoutConstraints.py
Another package name fix
[wxWidgets.git] / wxPython / demo / LayoutConstraints.py
index abd5e1a8b2c624e471576095059cfe6110d51caa..3484fe5dc7e9ebfbd588ee383bd4174f66113ddc 100644 (file)
@@ -56,7 +56,7 @@ class TestLayoutConstraints(wx.Panel):
         lc.centreY.SameAs   (self.panelA, wx.CentreY)
         lc.height.AsIs      ()
         lc.width.PercentOf  (self.panelA, wx.Width, 50)
         lc.centreY.SameAs   (self.panelA, wx.CentreY)
         lc.height.AsIs      ()
         lc.width.PercentOf  (self.panelA, wx.Width, 50)
-        b.SetConstraints(lc);
+        b.SetConstraints(lc)
 
         b = wx.Button(self.panelB, 100, ' Panel B ')
         lc = wx.LayoutConstraints()
 
         b = wx.Button(self.panelB, 100, ' Panel B ')
         lc = wx.LayoutConstraints()
@@ -64,7 +64,7 @@ class TestLayoutConstraints(wx.Panel):
         lc.right.SameAs     (self.panelB, wx.Right, 4)
         lc.height.AsIs      ()
         lc.width.AsIs       ()
         lc.right.SameAs     (self.panelB, wx.Right, 4)
         lc.height.AsIs      ()
         lc.width.AsIs       ()
-        b.SetConstraints(lc);
+        b.SetConstraints(lc)
 
         self.panelD = wx.Window(self.panelC, -1, style=wx.SIMPLE_BORDER)
         self.panelD.SetBackgroundColour(wx.GREEN)
 
         self.panelD = wx.Window(self.panelC, -1, style=wx.SIMPLE_BORDER)
         self.panelD.SetBackgroundColour(wx.GREEN)
@@ -78,14 +78,14 @@ class TestLayoutConstraints(wx.Panel):
         lc.left.RightOf     (self.panelD)
         lc.height.AsIs      ()
         lc.width.AsIs       ()
         lc.left.RightOf     (self.panelD)
         lc.height.AsIs      ()
         lc.width.AsIs       ()
-        b.SetConstraints(lc);
+        b.SetConstraints(lc)
 
         lc = wx.LayoutConstraints()
         lc.bottom.PercentOf (self.panelC, wx.Height, 50)
         lc.right.PercentOf  (self.panelC, wx.Width, 50)
         lc.height.SameAs    (b, wx.Height)
         lc.width.SameAs     (b, wx.Width)
 
         lc = wx.LayoutConstraints()
         lc.bottom.PercentOf (self.panelC, wx.Height, 50)
         lc.right.PercentOf  (self.panelC, wx.Width, 50)
         lc.height.SameAs    (b, wx.Height)
         lc.width.SameAs     (b, wx.Width)
-        self.panelD.SetConstraints(lc);
+        self.panelD.SetConstraints(lc)
 
 
     def OnButton(self, event):
 
 
     def OnButton(self, event):