From: Carl Hetherington Date: Mon, 16 Jan 2023 19:53:32 +0000 (+0100) Subject: Cleanup: use auto. X-Git-Tag: v2.16.41~34 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=275c1e78c022e5d8c41e4f718fab2c355f41f785 Cleanup: use auto. --- diff --git a/src/wx/screen_dialog.cc b/src/wx/screen_dialog.cc index 6b13675cd..bc39193fb 100644 --- a/src/wx/screen_dialog.cc +++ b/src/wx/screen_dialog.cc @@ -194,7 +194,7 @@ ScreenDialog::ScreenDialog ( overall_sizer->Add (_sizer, 1, wxEXPAND | wxALL, DCPOMATIC_DIALOG_BORDER); - wxSizer* buttons = CreateSeparatedButtonSizer (wxOK | wxCANCEL); + auto buttons = CreateSeparatedButtonSizer (wxOK | wxCANCEL); if (buttons) { overall_sizer->Add (buttons, wxSizerFlags().Expand().DoubleBorder()); }