Appendix K Porting from MFC

There are thousands of applications and millions of lines of code written in MFC, and it’s increasingly common for organizations and individuals to migrate from MFC to wxWidgets to take advantage of other platforms and markets. Porting is easier than you might think because the wxWidgets API has many concepts and constructs that are similar to those in MFC. This appendix gives you an idea of what’s involved, provides comparisons for particular features, and suggests some porting strategies.

General Observations

The processes of programming with MFC and programming with wxWidgets are fairly similar. In each, you write application, window, and other classes; create dialogs using suitable tools; define how user interaction ...

Get Cross-Platform GUI Programming with wxWidgets now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.