From 630edaac3c89775a0ca97a55bf163efe064b7eed Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sat, 30 Oct 2004 21:30:16 +0000 Subject: [PATCH] Use wx.FULL_PAINT_ON_RESIZE git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/demo/GridBagSizer.py | 5 ++++- wxPython/demo/LayoutAnchors.py | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) 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) diff --git a/wxPython/demo/LayoutAnchors.py b/wxPython/demo/LayoutAnchors.py index a15f34f6c1..aaa4dc8a19 100644 --- a/wxPython/demo/LayoutAnchors.py +++ b/wxPython/demo/LayoutAnchors.py @@ -40,7 +40,8 @@ class AnchorsDemoFrame(wx.Frame): self.mainPanel = wx.Panel( size=(320, 160), parent=self, id=ID_ANCHORSDEMOFRAMEMAINPANEL, name='panel1', - style=wx.TAB_TRAVERSAL | wx.CLIP_CHILDREN, + style=wx.TAB_TRAVERSAL | wx.CLIP_CHILDREN + | wx.FULL_REPAINT_ON_RESIZE, pos=(0, 0) ) -- 2.45.2