diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-10-25 20:21:23 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-10-26 11:21:29 +0100 |
| commit | 8a743225a7e34bbadba63795076204204aac551a (patch) | |
| tree | 5806059f3cf32c42511eec0f47a8a4f05ef683fa /src/wx/about_dialog.cc | |
| parent | ed7986e9f0975ca26ac0ba72caaaedda482fe5e7 (diff) | |
Allow building and running with wxWidgets 3.1.x as well as 3.0.x.
Diffstat (limited to 'src/wx/about_dialog.cc')
| -rw-r--r-- | src/wx/about_dialog.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/about_dialog.cc b/src/wx/about_dialog.cc index 212ab6244..28a5acf79 100644 --- a/src/wx/about_dialog.cc +++ b/src/wx/about_dialog.cc @@ -214,7 +214,7 @@ AboutDialog::AboutDialog (wxWindow* parent) tested_by.Add (wxT ("Wolfgang Woehl")); add_section (_("Tested by"), tested_by); - sizer->Add (_notebook, wxSizerFlags().Centre().Border(wxALL, 16).Expand()); + sizer->Add (_notebook, wxSizerFlags().Centre().Border(wxALL, 16)); overall_sizer->Add (sizer); @@ -251,7 +251,7 @@ AboutDialog::add_section (wxString name, wxArrayString credits) int c = 0; for (size_t i = 0; i < credits.Count(); ++i) { - add_label_to_sizer (sizers[c], panel, credits[i], false); + add_label_to_vertical_sizer (sizers[c], panel, credits[i], false); ++c; if (c == N) { c = 0; |
