do not emit EVT_TEXT in set value
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user