Hi,
My application has a main wxFrame with a wxAUIManager.
In four panes i have a wxTreeCtrl, a wxNotebook (in a wxPanel to manage flickering), a wxListBox and an GLCanvas respectively.
I have a small flickering issue with one particular notebook page: When the page is updated due to selection events from the tree and the listbox, the treectrl and the listbox flicker (but only for this particular notebook page). I can make the flickering go away by making the main frame double buffered but then I get problems with the GLCanvas. (I guess this is due to the double buffered nature of the GLCanvas itself.)
It does not help to make the two flickering controls double buffered.
Is there a way to use a GLCanvas as a child of a double buffered window?
Also: I notice that when no item in the tree is selected and I select a an item, the root node lights up as if selected for a very short period of time before the actually selected node is marked as selected. Is this expected?
I run wxWidgets 3.0.2 on a Windows 10 machine.
Best Regards
Klas
Doubbled buffered frame with GLCanvas
-
- Knows some wx things
- Posts: 42
- Joined: Thu Mar 13, 2014 9:49 pm