mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-07 20:40:11 +01:00
Fix SyntaxWarning in wx.lib.masked.maskededit
This commit is contained in:
@@ -2645,7 +2645,7 @@ class MaskedEditMixin:
|
||||
raise ve
|
||||
elif replace_to > end:
|
||||
#### dbg(indent=0)
|
||||
ve = ValueError('"%s" will not fit into field %d of control "%s"' (choice, index, self.name))
|
||||
ve = ValueError('"%s" will not fit into field %d of control "%s"' % (choice, index, self.name))
|
||||
ve.value = choice
|
||||
ve.index = index
|
||||
raise ve
|
||||
|
||||
Reference in New Issue
Block a user