I'm brand new to wxRuby, and just trying to figure things out. How do I change the style of the TextCtrl after it has been created.
tb = Wx::TextCtrl.new(panel, -1, :style => Wx::TE_PASSWORD)
Sets the text input properly, but is it possible to change this property after it has been created?
tb = Wx::TextCtrl.new(panel, -1)
tb.set_window_style(Wx::TE_PASSWORD)
Does nothing, and subbing in set_style
or set_default_style
each throw errors.