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:
@@ -224,6 +224,10 @@ class BaseMaskedComboBox( wx.ComboBox, MaskedEditMixin ):
|
|||||||
self.SetInsertionPoint(pos)
|
self.SetInsertionPoint(pos)
|
||||||
|
|
||||||
|
|
||||||
|
def IsEmpty(*args, **kw):
|
||||||
|
return MaskedEditMixin.IsEmpty(*args, **kw)
|
||||||
|
|
||||||
|
|
||||||
def _GetValue(self):
|
def _GetValue(self):
|
||||||
"""
|
"""
|
||||||
Allow mixin to get the raw value of the control with this function.
|
Allow mixin to get the raw value of the control with this function.
|
||||||
|
@@ -141,6 +141,9 @@ class BaseMaskedTextCtrl( wx.TextCtrl, MaskedEditMixin ):
|
|||||||
## wx.TextCtrl.SetInsertionPoint(self, pos)
|
## wx.TextCtrl.SetInsertionPoint(self, pos)
|
||||||
|
|
||||||
|
|
||||||
|
def IsEmpty(*args, **kw):
|
||||||
|
return MaskedEditMixin.IsEmpty(*args, **kw)
|
||||||
|
|
||||||
def _GetValue(self):
|
def _GetValue(self):
|
||||||
"""
|
"""
|
||||||
Allow mixin to get the raw value of the control with this function.
|
Allow mixin to get the raw value of the control with this function.
|
||||||
|
Reference in New Issue
Block a user