Let’s say I have a button on my Frame inside a panel, and I have a static text inside a panel on the same level of the panel where the button is. How can I modify let’s say the background colour or the text of the static text when I press the button?
So, I have the function that run on the event left up liked to the button but I don’t know how to refer to the static text inside my event function. I have the frame as an argument of my class derived from wxFrame. I saw there’s a method GetChildred() but I don’t have any idea how to go after that to get the right element I need
Luca Vieceli is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.