diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-12-27 00:00:12 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-01-16 00:38:53 +0100 |
| commit | 322eb4d9ddd346af593c3d82674fa71c9d67ff34 (patch) | |
| tree | 12440cabedd9b788ac7be12b6d8b5d0ec929e341 | |
| parent | 7b66e9c9de6df12f49b358d9496a9e64b68db550 (diff) | |
C++11 tidying.
| -rw-r--r-- | src/wx/table_dialog.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/table_dialog.cc b/src/wx/table_dialog.cc index 862f7db1a..34ff6bf9d 100644 --- a/src/wx/table_dialog.cc +++ b/src/wx/table_dialog.cc @@ -38,7 +38,7 @@ TableDialog::TableDialog (wxWindow* parent, wxString title, int columns, int gro flags |= wxCANCEL; } - wxSizer* buttons = CreateSeparatedButtonSizer (flags); + auto buttons = CreateSeparatedButtonSizer (flags); if (buttons) { _overall_sizer->Add (buttons, wxSizerFlags().Expand().DoubleBorder()); } @@ -65,7 +65,7 @@ TableDialog::add (wxString text, bool) text += wxT (":"); } #endif - wxStaticText* m = new StaticText (this, wxT ("")); + auto m = new StaticText (this, wxT ("")); m->SetLabelMarkup (text); _table->Add (m, 0, flags, 6); return m; |
