]> git.saurik.com Git - wxWidgets.git/commitdiff
Use wx.FULL_PAINT_ON_RESIZE
authorRobin Dunn <robin@alldunn.com>
Sat, 30 Oct 2004 21:30:16 +0000 (21:30 +0000)
committerRobin Dunn <robin@alldunn.com>
Sat, 30 Oct 2004 21:30:16 +0000 (21:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/demo/GridBagSizer.py
wxPython/demo/LayoutAnchors.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")
-        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)
index a15f34f6c1d19f1bf417a605b688fff8f52bf138..aaa4dc8a197e1b337cc4374a8da89ce96d638721 100644 (file)
@@ -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)
                             )