This commit was manufactured by cvs2svn to create tag 'wxPy_2_5_3_1'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/tags/wxPy_2_5_3_1@30405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -5622,7 +5622,7 @@ class MaskedEditMixin:
|
||||
and sel_to >= edit_end
|
||||
and not self._GetValue()[edit_start:sel_start].strip() ):
|
||||
# text won't fit within selection, but left of selection is empty;
|
||||
# check to see if we can expand selection to accomodate the value:
|
||||
# check to see if we can expand selection to accommodate the value:
|
||||
empty_space = sel_start - edit_start
|
||||
amount_needed = len(paste_text) - (sel_to - sel_start)
|
||||
if amount_needed <= empty_space:
|
||||
|
Reference in New Issue
Block a user