Porting from MFC to wxWidgets
Channel: Utah Cpp Programmers
Date: 2023-10-12

Sometimes we have a useful Microsoft Foundation Classes (MFC) application that we'd like to make available to other platforms. wxWidgets has a programming model very similar to MFC, so porting our application from MFC to wxWidgets seems like the simplest way to get a cross-platform version of our application.

This month, Richard Thomson will give us a quick refresher on GUI programming and walk us through an example of porting the MFC application "hippy" -- a Motorola 6800 microprocessor assembler and simulator -- to wxWidgets. Some of the topics covered will include:

- Conversion of event handling
- Conversion of CMake based build
- Consuming wxWidgets through vcpkg
- Conversion of resources (bitmaps, etc.)
- Conversion of loading plugins with GUI elements

Hippy: https://github.com/LegalizeAdulthood/hippy
wxMFC: https://github.com/LegalizeAdulthood/wxmfc
Porting Guide: https://gist.github.com/LegalizeAdulthood/4ada76ae95f11fffab04dc7f81a20646

Past topics: https://utahcpp.wordpress.com/past-meeting-topics/
Future topics: https://utahcpp.wordpress.com/future-meeting-topics/