I'm not sure what's causing this but I have a couple of windows in my app that won't show the PushButton when PushButton.Default = True when the app is running on Mojave in Dark mode - only occurs the first time the window is shown/created. If the window is hidden and re-shown the problem isn't there.
I can reproduce the issue on my system for one of the windows. To fix it I simply hide and show the window again when app is running in dark mode and all is good. For the other window this problem only occurs for one of my beta testers. Hiding the window and reshowing doesn't fix the issue. Short of setting the PushButton.Default to false in dark mode and accepting enter keys in the window KeyDown event handler has anyone else seen anything like this or have any suggestions?
Dev system: macOS 10.13.6 Xojo 2018r3
Test system macOS 10.14.4