X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34a544a635f3bac9320e6eb41aaaa5a5e8d1f5a4..25b3661bd4cb44304418b93c0dee1d0dfb99765c:/wxPython/demo/GridBagSizer.py diff --git a/wxPython/demo/GridBagSizer.py b/wxPython/demo/GridBagSizer.py index c6a223782c..25ef8cdb00 100644 --- a/wxPython/demo/GridBagSizer.py +++ b/wxPython/demo/GridBagSizer.py @@ -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") - 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)