diff options
Diffstat (limited to 'src')
| -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()); } |
