Fixed typo, patch from Will
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -4928,7 +4928,7 @@ class MaskedEditMixin:
|
|||||||
matched_str = newtext
|
matched_str = newtext
|
||||||
newtext = self._ctrl_constraints._choices[match_index]
|
newtext = self._ctrl_constraints._choices[match_index]
|
||||||
edit_end = self._ctrl_constraints._extent[1]
|
edit_end = self._ctrl_constraints._extent[1]
|
||||||
new_select_to = min(edit_end, len(newvalue.rstrip()))
|
new_select_to = min(edit_end, len(newtext.rstrip()))
|
||||||
match_field = self._ctrl_constraints
|
match_field = self._ctrl_constraints
|
||||||
if self._ctrl_constraints._insertRight:
|
if self._ctrl_constraints._insertRight:
|
||||||
# adjust position to just after partial match in control:
|
# adjust position to just after partial match in control:
|
||||||
|
Reference in New Issue
Block a user