]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/richtext.py
Corrections after The Great wxRegion Refactoring.
[wxWidgets.git] / wxPython / src / msw / richtext.py
index d5641c0ad85d6025980d3c49dbe50d657bd636c5..dd3b17545315389f60298692e2143a717e443c8c 100644 (file)
@@ -675,7 +675,7 @@ class RichTextCtrl(_windows.ScrolledWindow):
         SaveFile(self, String file=EmptyString, int type=RICHTEXT_TYPE_ANY) -> bool
 
         Save the contents of the document to the given filename, or if the
-        empty string is passed then to the filename set with `SetFileName`.
+        empty string is passed then to the filename set with `SetFilename`.
         """
         return _richtext.RichTextCtrl_SaveFile(*args, **kwargs)
 
@@ -1135,6 +1135,14 @@ class RichTextCtrl(_windows.ScrolledWindow):
         """SetSelectionRange(self, RichTextRange range)"""
         return _richtext.RichTextCtrl_SetSelectionRange(*args, **kwargs)
 
+    def GetInternalSelectionRange(*args, **kwargs):
+        """GetInternalSelectionRange(self) -> RichTextRange"""
+        return _richtext.RichTextCtrl_GetInternalSelectionRange(*args, **kwargs)
+
+    def SetInternalSelectionRange(*args, **kwargs):
+        """SetInternalSelectionRange(self, RichTextRange range)"""
+        return _richtext.RichTextCtrl_SetInternalSelectionRange(*args, **kwargs)
+
     def AddParagraph(*args, **kwargs):
         """AddParagraph(self, String text) -> RichTextRange"""
         return _richtext.RichTextCtrl_AddParagraph(*args, **kwargs)