diff --git a/wxPython/wx/lib/masked/combobox.py b/wxPython/wx/lib/masked/combobox.py index 7c08ed4265..c7c97bdc73 100644 --- a/wxPython/wx/lib/masked/combobox.py +++ b/wxPython/wx/lib/masked/combobox.py @@ -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. diff --git a/wxPython/wx/lib/masked/textctrl.py b/wxPython/wx/lib/masked/textctrl.py index 7a2fb42a08..93c1a1c101 100644 --- a/wxPython/wx/lib/masked/textctrl.py +++ b/wxPython/wx/lib/masked/textctrl.py @@ -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.