X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/763d71e4420363190f63cf0e99e3a391ca7e90c6..c2dac7366ce3bdfaab2d49fc043dceb25b9c0709:/wxPython/demo/wxIEHtmlWin.py diff --git a/wxPython/demo/wxIEHtmlWin.py b/wxPython/demo/wxIEHtmlWin.py index 12210cf03b..5bdd7191be 100644 --- a/wxPython/demo/wxIEHtmlWin.py +++ b/wxPython/demo/wxIEHtmlWin.py @@ -8,9 +8,10 @@ if wxPlatform == '__WXMSW__': class TestPanel(wxWindow): def __init__(self, parent, log, frame=None): - wxWindow.__init__(self, parent, -1, style=wxCLIP_CHILDREN) + wxWindow.__init__(self, parent, -1, + style=wxCLIP_CHILDREN|wxNO_FULL_REPAINT_ON_RESIZE) self.log = log - self.current = "http://wxPython.org/" + self.current = "http://wxWindows.org/" self.frame = frame if frame: self.titleBase = frame.GetTitle() @@ -19,7 +20,7 @@ class TestPanel(wxWindow): sizer = wxBoxSizer(wxVERTICAL) btnSizer = wxBoxSizer(wxHORIZONTAL) - self.ie = wxIEHtmlWin(self, -1) ##, style=wxSUNKEN_BORDER) + self.ie = wxIEHtmlWin(self, -1, style = wxNO_FULL_REPAINT_ON_RESIZE) btn = wxButton(self, wxNewId(), "Open", style=wxBU_EXACTFIT)