How to make two wxPanel instances reflect each other?
Posted: Tue Jun 12, 2018 9:41 pm
Hello,
as the title says, I have two wxPanel derived-class instances which are child windows of two different wxFrames,
I want these two wxPanels to reflect each other (i.e. any change to on instance will apply to the other. e.g if a slider inside that wxPanel is moved to one position, the slider of the other wxPanel should move to that same position, and so on).
is there an automation way to do it, like connecting both to the same event handler?
if so, How?
Thank you.
as the title says, I have two wxPanel derived-class instances which are child windows of two different wxFrames,
I want these two wxPanels to reflect each other (i.e. any change to on instance will apply to the other. e.g if a slider inside that wxPanel is moved to one position, the slider of the other wxPanel should move to that same position, and so on).
is there an automation way to do it, like connecting both to the same event handler?
if so, How?
Thank you.