X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b7c75283f2144469e8fa6a24ca285b42fab69a6b..8179a16812e66ff0ac32bb09803e95756350c76c:/wxPython/demo/ActiveX_IEHtmlWindow.py diff --git a/wxPython/demo/ActiveX_IEHtmlWindow.py b/wxPython/demo/ActiveX_IEHtmlWindow.py index b3bc40fbf7..c55e5f8ff6 100644 --- a/wxPython/demo/ActiveX_IEHtmlWindow.py +++ b/wxPython/demo/ActiveX_IEHtmlWindow.py @@ -160,7 +160,9 @@ class TestPanel(wx.Window): def OnNewWindow2(self, evt): self.logEvt(evt) -## evt.Veto() # TODO + # Veto the new window. Cancel is defined as an "out" param + # for this event. See iewin.py + evt.Cancel = True def OnProgressChange(self, evt): self.logEvt(evt)