Just to be sure...

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-07-22 20:24:25 +00:00
parent c7aee86546
commit d2d049f28a

View File

@@ -4956,6 +4956,8 @@ class MaskedEditMixin:
we need to pull the following trick:
"""
## dbg('MaskedEditMixin::_OnFocus')
if self.IsBeingDeleted() or self.GetParent().IsBeingDeleted():
return
wx.CallAfter(self._fixSelection)
event.Skip()
self.Refresh()