From 275c1e78c022e5d8c41e4f718fab2c355f41f785 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 16 Jan 2023 20:53:32 +0100 Subject: [PATCH] Cleanup: use auto. --- src/wx/screen_dialog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); } -- 2.30.2