Skip to content

Commit e8c8106

Browse files
committed
Issue #737: Print the version of wxWidgets used
1 parent 6f15d9d commit e8c8106

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

LATEST_RELEASE_NOTES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ Other changes:
88
* [#729](../../issues/729) Reduce the number of warnings from windows builds
99
* [#731](../../issues/731) Move tests into the right places
1010
* [#732](../../issues/732) remove wxUI::Custom
11+
* [#737](../../issues/737) Print the version of wxWidgets used
1112

src/CalChartSplash.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ CalChartSplash::CalChartSplash(wxDocManager* manager, wxFrame* frame, std::strin
130130
wxUI::Bitmap{ BitmapWithBandIcon(GetLogoSize()) }.withFlags(ExpandSizerFlags()),
131131
wxUI::Text{ "CalChart " CC_VERSION }
132132
.withFont(fontTitle),
133+
wxUI::Text{ std::string{ "Built with: " } + wxString{ wxVERSION_STRING }.ToStdString() }
134+
.withFont(fontSubTitle),
133135
wxUI::Line{}
134136
.withSize({ GetLogoLineSize(), -1 }),
135137
wxUI::HSizer{
@@ -158,6 +160,7 @@ void CalChartSplash::About()
158160
// clang-format off
159161
(void)wxMessageBox(
160162
"CalChart " CC_VERSION "\n"
163+
"Built with: " wxVERSION_STRING "\n"
161164
"Authors: Gurk Meeker, Richard Michael Powell\n"
162165
"\n"
163166
"Contributors: Brandon Chinn, Kevin Durand, Noah Gilmore, David Strachan-Olson, Allan Yu\n"

0 commit comments

Comments
 (0)