I would like to use a simple text control that can switch between:
-- Echoing the typed characters as usual,
-- Echoing asterisks like wx.TE_PASSWORD style in wx.TextCtrl,
after the control has been initialized (for instance, controlled by a
"mask/unmask" checkbox).
I have experimented with TextCtrl.SetWindowStyle and
TextCtrl.SetWindowStyleFlag, without success. As far as I can tell, I
cannot change the style to wx.TE_PASSWORD once the control is
created.. Is there a way to do this, or another control capable of
such behavior?