projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1068602
)
Cleanup: use auto.
author
Carl Hetherington
<cth@carlh.net>
Mon, 16 Jan 2023 19:53:32 +0000
(20:53 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 16 Jan 2023 19:53:32 +0000
(20:53 +0100)
src/wx/screen_dialog.cc
patch
|
blob
|
history
diff --git
a/src/wx/screen_dialog.cc
b/src/wx/screen_dialog.cc
index 6b13675cd802f28ab3d61040874e2f3d950ced85..bc39193fba395d790f11a95594e52c18e745a864 100644
(file)
--- 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());
}