Chapter 19 Working with Documents and Views
This chapter discusses how the document/view framework provided by wxWidgets can dramatically reduce the amount of code you need to write for a document-based application. It also discusses the related topic of providing undo and redo in your application, a seemingly miraculous facility that users now take for granted.
The document/view system is found in most application frameworks because it can greatly simplify the code required to build many kinds of applications.
The idea is that you can model your application primarily in terms of documents, which store data and provide GUI-independent operations upon it, and views, which display and manipulate the data. It’s similar ...