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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.