layout ();
- wxButton* ok = dynamic_cast<wxButton *> (FindWindowById (wxID_OK, this));
+ auto ok = dynamic_cast<wxButton *> (FindWindowById (wxID_OK, this));
ok->Enable (false);
}
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());
}