summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-01-16 20:53:32 +0100
committerCarl Hetherington <cth@carlh.net>2023-01-16 20:53:32 +0100
commit275c1e78c022e5d8c41e4f718fab2c355f41f785 (patch)
tree1534e8d5fdc56723abd888f9ecaa3c50e0b6ce8f
parent106860252a1ac6b76bf13ab6ac968dfb01056305 (diff)
Cleanup: use auto.
-rw-r--r--src/wx/screen_dialog.cc2
1 files changed, 1 insertions, 1 deletions
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());
}