diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-06-05 21:09:58 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-06-06 23:10:58 +0200 |
| commit | 7b30ec45f8d3d2881d633356058628373eb47057 (patch) | |
| tree | a621a9940544ce040690c705c64268ae10d33fa1 | |
| parent | f7b6c0595fe13be3f4a10bcce88dd895b1111b57 (diff) | |
C++11 tidying.
| -rw-r--r-- | src/wx/export_video_file_dialog.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/export_video_file_dialog.cc b/src/wx/export_video_file_dialog.cc index 50ea5ca48..54bdbdf03 100644 --- 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()); } |
