Skip to content

Commit

Permalink
Merge pull request elfmz#2489 from unxed/wx_ver
Browse files Browse the repository at this point in the history
include wxWidgets version information into the log
  • Loading branch information
elfmz authored Nov 3, 2024
2 parents 4c71ca4 + 3267a8b commit 671e3a9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions WinPort/src/Backend/WX/wxMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,12 @@ extern "C" __attribute__ ((visibility("default"))) bool WinPortMainBackend(WinPo
if (!wxInitialize())
return false;

fprintf(stderr, "FAR2L wxWidgets build version %d.%d.%d\n", wxMAJOR_VERSION, wxMINOR_VERSION, wxRELEASE_NUMBER );
#if wxCHECK_VERSION(2, 9, 2)
wxVersionInfo wxv = wxGetLibraryVersionInfo();
fprintf(stderr, "FAR2L wxWidgets use version %d.%d.%d\n", wxv.GetMajor(), wxv.GetMinor(), wxv.GetMicro() );
#endif

wxSetAssertHandler(WinPortWxAssertHandler);

DetectHostAbilities();
Expand Down

0 comments on commit 671e3a9

Please sign in to comment.