do not emit EVT_TEXT in set value

This commit is contained in:
2026-02-06 19:10:02 +01:00
parent e442fc9f0f
commit 8bc33c790c

View File

@@ -42,7 +42,7 @@ class MathEntry(wx.TextCtrl):
def SetValue(self, val): def SetValue(self, val):
self.value_type = type(val) self.value_type = type(val)
val = str(val) val = str(val)
super().SetValue(val) super().ChangeValue(val) #TODO
def on_enter(self, event): def on_enter(self, event):
@@ -94,7 +94,7 @@ class MathEntry(wx.TextCtrl):
def clear(self): def clear(self):
super().SetValue("") super().ChangeValue("") #TODO