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.
- In need of some credit
- Posts: 6
- Joined: Sun Jan 13, 2019 5:52 pm
So I have implemented the "double buffer swapping" approach. Two different panels, two different text editors. When changing pages the text of the current page (if it has a text editor) is copied into the text editor of the next page. I will be adding modes that don't require a text editor, such as a reference page, and there I have a member called m_most_recent_buffer
that refers to the page with the most update to date text editor.
I'm no wxWidgets expert so I can't give an opinion about the document/view framework design. I'll leave that to the experts here.
Now that I have a working program I'll close this discussion.
Thanks all the help.