From: Robin Dunn Date: Mon, 14 Jun 2004 20:17:31 +0000 (+0000) Subject: clip notebook children to help reduce flicker X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c6ca8c022c26d486260bfa9a4d86609c53f36cae?ds=inline clip notebook children to help reduce flicker git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/wx/py/editor.py b/wxPython/wx/py/editor.py index 671ede9e0b..be2f521b9c 100644 --- a/wxPython/wx/py/editor.py +++ b/wxPython/wx/py/editor.py @@ -365,7 +365,7 @@ class EditorNotebook(wx.Notebook): def __init__(self, parent): """Create EditorNotebook instance.""" - wx.Notebook.__init__(self, parent, id=-1, style=wx.NO_FULL_REPAINT_ON_RESIZE) + wx.Notebook.__init__(self, parent, id=-1, style=wx.CLIP_CHILDREN) wx.EVT_NOTEBOOK_PAGE_CHANGING(self, self.GetId(), self.OnPageChanging) wx.EVT_NOTEBOOK_PAGE_CHANGED(self, self.GetId(),