Skip to content

300 Update sh_template so that MacOS can support wxWidgets - #301

Merged
OneLoneCoder merged 1 commit into
developfrom
300-update-sh_template-so-that-macos-can-support-wxwidgets
Sep 19, 2026
Merged

OneLoneCoder merged 1 commit into
developfrom
300-update-sh_template-so-that-macos-can-support-wxwidgets

Conversation

@Johnnyg63

Copy link
Copy Markdown
Collaborator

To correct this issue we have move the api_macos_wrapper.hpp, api_macos.h/cpp code out of the OLC_USE_WXWIDGETS condintional statement and gaurded them with OLC_HOST_MACOS set. This will ensure Imageloader_macos and any other C++ requiring access to the wrapper can still excute as expected regardless if OLC_USE_WXWIDGETS is set or not.

Athought the main change was just a short movement of macro gaurds, please see sh_template.h below, it does cause a large change in the SH, the is because we have moved the macos Wrapper code up by approx 1000 lines and via versa for the cpp codes.

Therefore I have tested the SH again for, Windows, Macos, XCode, VS Code (yes using CMake... ), wxWidgets.
Evidance:
image

VSCode:
image

wxWidget MacOS
image

iOS (Aphla testing only) wxWigdets and PGE3 iOS
Screen Recording 2026-09-15 at 20.09.27
image
...
image

And windows... give me 5 mins to get the screen caps

Also updated project paths to use relative paths
@Johnnyg63 Johnnyg63 self-assigned this Sep 17, 2026
@Johnnyg63

Copy link
Copy Markdown
Collaborator Author

and finally but most important Windows working as expected:
image

@OneLoneCoder
OneLoneCoder merged commit 352c340 into develop Sep 19, 2026
1 check failed
@Johnnyg63
Johnnyg63 deleted the 300-update-sh_template-so-that-macos-can-support-wxwidgets branch September 20, 2026 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants