X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34a544a635f3bac9320e6eb41aaaa5a5e8d1f5a4..b4eecebd423df0c6efe86d7658cd3df818d67ed8:/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)