X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f27895d28959ea2d8ddf4c2c5b5ad3958bcaadb4..fd4081aa33f41ccd3d373b3cac9e9172e69d888b:/wxPython/src/mac/richtext.py diff --git a/wxPython/src/mac/richtext.py b/wxPython/src/mac/richtext.py index bd45131ab4..efe7f99d91 100644 --- a/wxPython/src/mac/richtext.py +++ b/wxPython/src/mac/richtext.py @@ -487,26 +487,6 @@ class RichTextAttr(object): """HasRightIndent(self) -> bool""" return _richtext.RichTextAttr_HasRightIndent(*args, **kwargs) - def HasWeight(*args, **kwargs): - """HasWeight(self) -> bool""" - return _richtext.RichTextAttr_HasWeight(*args, **kwargs) - - def HasSize(*args, **kwargs): - """HasSize(self) -> bool""" - return _richtext.RichTextAttr_HasSize(*args, **kwargs) - - def HasItalic(*args, **kwargs): - """HasItalic(self) -> bool""" - return _richtext.RichTextAttr_HasItalic(*args, **kwargs) - - def HasUnderlined(*args, **kwargs): - """HasUnderlined(self) -> bool""" - return _richtext.RichTextAttr_HasUnderlined(*args, **kwargs) - - def HasFaceName(*args, **kwargs): - """HasFaceName(self) -> bool""" - return _richtext.RichTextAttr_HasFaceName(*args, **kwargs) - def HasFont(*args, **kwargs): """HasFont(self) -> bool""" return _richtext.RichTextAttr_HasFont(*args, **kwargs) @@ -1416,7 +1396,7 @@ class RichTextCtrl(_windows.ScrolledWindow): InternalSelectionRange = property(GetInternalSelectionRange,SetInternalSelectionRange,doc="See `GetInternalSelectionRange` and `SetInternalSelectionRange`") LastPosition = property(GetLastPosition,doc="See `GetLastPosition`") NumberOfLines = property(GetNumberOfLines,doc="See `GetNumberOfLines`") - Selection = property(GetSelection,SetSelection,doc="See `GetSelection` and `SetSelection`") + Selection = property(GetSelection,SetSelectionRange,doc="See `GetSelection` and `SetSelection`") SelectionRange = property(GetSelectionRange,SetSelectionRange,doc="See `GetSelectionRange` and `SetSelectionRange`") StringSelection = property(GetStringSelection,doc="See `GetStringSelection`") StyleSheet = property(GetStyleSheet,SetStyleSheet,doc="See `GetStyleSheet` and `SetStyleSheet`")