If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
- Earned a small fee
- Posts: 23
- Joined: Mon Nov 26, 2007 3:58 pm
i have a problem with wxTimer. My Window struct:
Code: Select all
-wxNotebook (Notebook with 5 pages)
-wxWindow (Page nr 2 <-- here i create and call the Timer)
-wxWindow (Renderwindow 1)
-wxWindow (Renderwindow 2)
I create in the "wxNotebook Page 2" an wxTimer and call it every 20 ms. In the OnTimer method I refresh the content of the two "render windows". But it refresh only when a other page is visible. I mean, the timer runs only when the Page nr 2 isn't visible. What is my error??
very sorry for my poor english....
wxWidgets SDK 2.8.6 MinGW Code::Blocks
- Knows some wx things
- Posts: 29
- Joined: Wed May 23, 2007 3:41 pm
- Location: London
Might help, try calling Refresh(true), i-e forcing the backgroud to clear.
Who doubts nothing, Knows nothing