]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/iewin.py
only return matching modes from GetModes()
[wxWidgets.git] / wxPython / wx / lib / iewin.py
index 7ebc0097c29a604642be1c9e1f0348ae46e80c41..31e6f0179516386024b53fc24de74d0555361fcc 100644 (file)
@@ -107,7 +107,7 @@ EVT_UpdatePageStatus = wx.PyEventBinder(wxEVT_UpdatePageStatus, 1)
 EVT_PrivacyImpactedStateChange = wx.PyEventBinder(wxEVT_PrivacyImpactedStateChange, 1)
 
 
-# For this there are aew 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.
         """