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,
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.
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.
"""