]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/LayoutAnchors.py
warning fix
[wxWidgets.git] / wxPython / demo / LayoutAnchors.py
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)
                             )