ensure that the MasedEditMixin's version of IsEmpty is the one used.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2006-10-19 21:38:55 +00:00
parent 5555861c29
commit b93f7ba634
2 changed files with 7 additions and 0 deletions

View File

@ -224,6 +224,10 @@ class BaseMaskedComboBox( wx.ComboBox, MaskedEditMixin ):
self.SetInsertionPoint(pos)
def IsEmpty(*args, **kw):
return MaskedEditMixin.IsEmpty(*args, **kw)
def _GetValue(self):
"""
Allow mixin to get the raw value of the control with this function.

View File

@ -141,6 +141,9 @@ class BaseMaskedTextCtrl( wx.TextCtrl, MaskedEditMixin ):
## wx.TextCtrl.SetInsertionPoint(self, pos)
def IsEmpty(*args, **kw):
return MaskedEditMixin.IsEmpty(*args, **kw)
def _GetValue(self):
"""
Allow mixin to get the raw value of the control with this function.