]> git.saurik.com Git - wxWidgets.git/commitdiff
Added default values for some parameters
authorRobin Dunn <robin@alldunn.com>
Fri, 17 Dec 2004 02:01:08 +0000 (02:01 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 17 Dec 2004 02:01:08 +0000 (02:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/wx/lib/iewin.py

index 7ebc0097c29a604642be1c9e1f0348ae46e80c41..691c2c4552be58c7f2e1ff012356fcafb0ea1981 100644 (file)
@@ -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.
         """