Hi,
since the 3.1.2 supports the Mojave Dark Theme, I also want to trigger some modification my self.
How can I check wxWidgets if the Dark Theme is active?
How to detect the Mojave Dark Theme?
Re: How to detect the Mojave Dark Theme?
Thanks,
but I'm looking for a wxWidgets API call, not native macOS.
but I'm looking for a wxWidgets API call, not native macOS.
Re: How to detect the Mojave Dark Theme?
Hi,
I doubt its there.
You can submit a PR with the appropriate function from the post I referenced and then use it with appropriate conditional...
Thank you.
I doubt its there.
You can submit a PR with the appropriate function from the post I referenced and then use it with appropriate conditional...
Thank you.
Re: How to detect the Mojave Dark Theme?
You could try and check some system colors with wxSystemSettings::GetColour(...)
Maybe they return a unique color or color combination in that case.
But even if it works, it won't be as reliable as the native call.
Maybe they return a unique color or color combination in that case.
But even if it works, it won't be as reliable as the native call.
Use the source, Luke!