X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fec9bb97b3f62e8c0f37f4806a2146ca463698f2..76b49cf49ba9ee9f3eeec9730cb4bc4569ab17f1:/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,),