Files
wxWidgets/include
Vadim Zeitlin e2de7dc625 Allow setting the exit code when returning false from OnInit()
Unfortunately returning false from the (overridden) wxApp::OnInit() has
a side effect of exiting the application with inconsistent error code:
255 under Unix but 127 under MSW with MSVC.

While changing the default exit code in this case is probably a bad idea
because there are surely people relying on the current values, at least
allow changing it by explicitly calling the new SetErrorExitCode()
function.
2024-08-21 18:47:21 +02:00
..