PMunch / wxnim

Nim wrapper for wxWidgets.
MIT License
94 stars 11 forks source link

Configure wx-config to pass all libs to the linker so that building on macOS works. #25

Closed joubertnel closed 3 years ago

joubertnel commented 3 years ago

This change is required so that linking on macOS and Linux includes all wxWidgets libraries. For example /examples/purewx/example2.nim needs this because it uses non-base controls like WxStyledTextCtrl.

Solution found in https://forums.wxwidgets.org/viewtopic.php?f=19&t=47667

PMunch commented 3 years ago

Why did you close this?

joubertnel commented 3 years ago

Hi there, I was thinking to add further commits to a new pull request to make it a more “complete” submission:

While installation of wxWidgets for macOS is straight forward via Homebrew, that version of wxWidgets (3.0.5) doesn’t support dark mode, so you have Juno through some extra hoops to get wxWidgets 3.1.4 going. I’ll capture all this in the macOS installation instructions.

On Jan 25, 2021, at 1:31 AM, PMunch notifications@github.com wrote:

 Why did you close this?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or unsubscribe.