adbrt / cb-legacy-dev

28 stars 5 forks source link

wxWidgets DOS support #2

Open aabluedragon opened 5 months ago

aabluedragon commented 5 months ago

Looks like it's possible to port wxWidgets for DOS using wxMGL, and actually get a GUI app running on DOS, would it be possible to support that as another Build Target in Code::Blocks in your project templates? https://wiki.wxwidgets.org/Building_wxMGL_Port

adbrt commented 5 months ago

It should be possible, first a build target could be configured manually, then based on that a template could be created. There already is DJGPP (but a much newer version) provided in my package, so it may be worth trying. In the example you provided wxWidgets-2.8.8 is used, which is older, but the same major version, so it could work.

However, using such old documentation often provides mixed results, for example i spent several days trying to build a native 16-bit Win 3.11 target with OpenWatcom compiler. In theory wxWidgets should have supported it, but i never got it to work.