]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/html.py
Ensure that endPos > startPos in a couple methods
[wxWidgets.git] / wxPython / src / msw / html.py
index c4103cd6e140ce3478f4a25b7f40158f3f937935..76baf4423de9425792ec46fc94f3cf2a35ab1f57 100644 (file)
@@ -145,6 +145,9 @@ class wxHtmlParserPtr(wxObjectPtr):
     def PopTagHandler(self, *_args, **_kwargs):
         val = apply(htmlc.wxHtmlParser_PopTagHandler,(self,) + _args, _kwargs)
         return val
+    def CanOpenURL(self, *_args, **_kwargs):
+        val = apply(htmlc.wxHtmlParser_CanOpenURL,(self,) + _args, _kwargs)
+        return val
     def __repr__(self):
         return "<C wxHtmlParser instance at %s>" % (self.this,)
 class wxHtmlParser(wxHtmlParserPtr):