X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b7c75283f2144469e8fa6a24ca285b42fab69a6b..d5a20ebb32b14f0191faa537cf044394b7b67bf6:/wxPython/wx/lib/iewin.py diff --git a/wxPython/wx/lib/iewin.py b/wxPython/wx/lib/iewin.py index 7ebc0097c2..31e6f01795 100644 --- a/wxPython/wx/lib/iewin.py +++ b/wxPython/wx/lib/iewin.py @@ -107,7 +107,7 @@ EVT_UpdatePageStatus = wx.PyEventBinder(wxEVT_UpdatePageStatus, 1) EVT_PrivacyImpactedStateChange = wx.PyEventBinder(wxEVT_PrivacyImpactedStateChange, 1) -# For this there are af ew special methods implemented in C++ in the +# For this there are a few special methods implemented in C++ in the # IEHtmlWindowBase class, so derive from it instead of ActiveXWindow. class IEHtmlWindow(wx.activex.IEHtmlWindowBase): def __init__(self, parent, ID=-1, pos=wx.DefaultPosition, @@ -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. """