Porting from MFC to wxWidgets

Опубликовано: 11 Октябрь 2023
на канале: Utah Cpp Programmers
2,445
45

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/...
wxMFC: https://github.com/LegalizeAdulthood/...
Porting Guide: https://gist.github.com/LegalizeAdult...

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