]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/GridBagSizer.py
Another package name fix
[wxWidgets.git] / wxPython / demo / GridBagSizer.py
index c6a223782c98def1fd2eb90f20124d425a71f2c0..25ef8cdb00503d07e8751de5ba6b9fcbe9afbe65 100644 (file)
@@ -12,7 +12,10 @@ static text is positioned at (0,0) and it spans 7 columns.
 class TestFrame(wx.Frame):
     def __init__(self):
         wx.Frame.__init__(self, None, -1, "wx.GridBagSizer")
 class TestFrame(wx.Frame):
     def __init__(self):
         wx.Frame.__init__(self, None, -1, "wx.GridBagSizer")
-        p = wx.Panel(self, -1)
+        p = wx.Panel(self, -1, style = wx.TAB_TRAVERSAL
+                     | wx.CLIP_CHILDREN
+                     | wx.FULL_REPAINT_ON_RESIZE
+                     )
         p.Bind(wx.EVT_LEFT_DOWN, self.OnLeftDown)
         
         gbs = self.gbs = wx.GridBagSizer(5, 5)
         p.Bind(wx.EVT_LEFT_DOWN, self.OnLeftDown)
         
         gbs = self.gbs = wx.GridBagSizer(5, 5)