diff --git a/mathentry.py b/mathentry.py index ad49f23..5347714 100644 --- a/mathentry.py +++ b/mathentry.py @@ -42,7 +42,7 @@ class MathEntry(wx.TextCtrl): def SetValue(self, val): self.value_type = type(val) val = str(val) - super().SetValue(val) + super().ChangeValue(val) #TODO def on_enter(self, event): @@ -94,7 +94,7 @@ class MathEntry(wx.TextCtrl): def clear(self): - super().SetValue("") + super().ChangeValue("") #TODO