Hello My application receives data from the network and display them into some text labels and a grid too, all in two separate wxStaticBoxSizer. I use a timer to call the functions that request these informations. The problem is that when the information are displayed on the frame, if I am browsing in a menu the menu disappears because I think the frame is gaining the focus, probably because it must repaint. How can I avoid it ? I tried just refreshing the text labels or just the grid but the problem appeared each time. Thanks for your help !
2. Re: Frame gaining focus on components refreshing
3. Re: Frame gaining focus on components refreshing
#2456
Posted by: 2003-08-11 20:30:18
good idea. So you suggest that on wxMenuEvent I stop the timer? I tried and it works, but I would be glad not to stop the timer. It is not very important but I just wonder me if there is a solution for it or not. Because most of the applications must deal with this problem no?
4. Re: Frame gaining focus on components refreshing