projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7b6c05
)
C++11 tidying.
author
Carl Hetherington
<cth@carlh.net>
Sun, 5 Jun 2022 19:09:58 +0000
(21:09 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 6 Jun 2022 21:10:58 +0000
(23:10 +0200)
src/wx/export_video_file_dialog.cc
patch
|
blob
|
history
diff --git
a/src/wx/export_video_file_dialog.cc
b/src/wx/export_video_file_dialog.cc
index 50ea5ca485d15c81fea9afd172a298faf6f25632..54bdbdf03cf77e897f3d253605d61e1c7a6b3031 100644
(file)
--- a/
src/wx/export_video_file_dialog.cc
+++ b/
src/wx/export_video_file_dialog.cc
@@
-108,7
+108,7
@@
ExportVideoFileDialog::ExportVideoFileDialog (wxWindow* parent, string name)
layout ();
-
wxButton*
ok = dynamic_cast<wxButton *> (FindWindowById (wxID_OK, this));
+
auto
ok = dynamic_cast<wxButton *> (FindWindowById (wxID_OK, this));
ok->Enable (false);
}
@@
-167,7
+167,7
@@
ExportVideoFileDialog::x264_crf () const
void
ExportVideoFileDialog::file_changed ()
{
-
wxButton*
ok = dynamic_cast<wxButton *> (FindWindowById (wxID_OK, this));
+
auto
ok = dynamic_cast<wxButton *> (FindWindowById (wxID_OK, this));
DCPOMATIC_ASSERT (ok);
ok->Enable (path().is_absolute());
}