[Tutor] Changes to wxTextCtrl get repeated
Magnus Lyckå
magnus at thinkware.se
Tue Dec 16 13:07:43 EST 2003
At 12:44 2003-12-16 -0500, Stanfield, Vicki {D167~Indianapolis} wrote:
>I have a gui that I am working with which contains, among other things,
>two wxTextCtrls. When I change the style of the first one, the second one
>exhibits behavior consistent with the change even though I don't actually
>change the code that creates it. Is there some kind of on-the-fly
>inheritance that I am not aware of? Specifically, I am changing the style
>from wxTE_READONLY to wxTE_READONLY|wxTE_WORDWRAP|wxTE_MULTILINE for the
>first box and want to leave the second box as wxTE_READONLY. If there were
>a wxTE_SINGLELINE, I could simply add that to the second one, but I'd
>rather understand the behavior I am seeing. Anyone?
I'd guess you've made something odd to make this
happen. It doesn't sound like normal wxPython
behaviour.
Perhaps you can put together a small program
that shows the behaviour, and mail that to the
list? (If nothing else, you might figure out
what you did to cause this in the process. :^)
For starters, you could post the lines of code
where you define your two wxTextCtrls.
--
Magnus Lycka (It's really Lyckå), magnus at thinkware.se
Thinkware AB, Sweden, www.thinkware.se
I code Python ~ The Agile Programming Language
More information about the Tutor
mailing list