X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fec9bb97b3f62e8c0f37f4806a2146ca463698f2..f8a29d4f6ed10d912c55a01380d08fbc0e3a6080:/wxPython/wx/lib/wxpTag.py diff --git a/wxPython/wx/lib/wxpTag.py b/wxPython/wx/lib/wxpTag.py index 5de374e990..4adefc12a7 100644 --- a/wxPython/wx/lib/wxpTag.py +++ b/wxPython/wx/lib/wxpTag.py @@ -161,7 +161,7 @@ class wxpTagHandler(wx.html.HtmlWinTagHandler): self.ParseInner(tag) # create the object - parent = self.GetParser().GetWindow() + parent = self.GetParser().GetWindowInterface().GetHTMLWindow() if parent: obj = apply(self.ctx.classObj, (parent,),