diff --git a/samples/wxptag/wxpTest.py b/samples/wxptag/wxpTest.py index cc0eb49b..298d34ed 100644 --- a/samples/wxptag/wxpTest.py +++ b/samples/wxptag/wxpTest.py @@ -19,12 +19,10 @@ class Frame(wx.Frame): def OnClose(self, event): self.Destroy() + app = wx.App() top = Frame("wxpTest") top.Show() - -import wx.lib.inspection -wx.lib.inspection.InspectionTool().Show() - app.MainLoop() + diff --git a/wx/lib/wxpTag.py b/wx/lib/wxpTag.py index bb1a83a3..532d78c3 100644 --- a/wx/lib/wxpTag.py +++ b/wx/lib/wxpTag.py @@ -105,6 +105,7 @@ class wxpTagHandler(wx.html.HtmlWinTagHandler): def __init__(self): wx.html.HtmlWinTagHandler.__init__(self) self.ctx = None + def GetSupportedTags(self): return WXPTAG+','+PARAMTAG