X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b7c75283f2144469e8fa6a24ca285b42fab69a6b..32485259c1342115488d219776dfebeb3d4d81b1:/wxPython/wx/lib/iewin.py?ds=sidebyside diff --git a/wxPython/wx/lib/iewin.py b/wxPython/wx/lib/iewin.py index 7ebc0097c2..691c2c4552 100644 --- a/wxPython/wx/lib/iewin.py +++ b/wxPython/wx/lib/iewin.py @@ -136,7 +136,7 @@ class IEHtmlWindow(wx.activex.IEHtmlWindowBase): return self.Navigate2(URL, Flags) - def GetStringSelection(self, asHTML): + def GetStringSelection(self, asHTML=True): """ Returns the contents of the selected portion of the document as either html or plain text. @@ -144,7 +144,7 @@ class IEHtmlWindow(wx.activex.IEHtmlWindowBase): return wx.activex.IEHtmlWindowBase.GetStringSelection(self, asHTML) - def GetText(self, asHTML): + def GetText(self, asHTML=True): """ Returns the contents of the the html document as either html or plain text. """