X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fscreen_dialog.cc;h=13dd9f42fbdba4cdc5d49f86a39637a60ac796b9;hb=85fa5c482d005ea8b53d3dce54a8f15b237deb14;hp=66e37a4cf94d58225b199fa8a88cef93fe19de22;hpb=765f90586c498860aa687e2b0cd6cedf1e0b1bf0;p=dcpomatic.git diff --git a/src/wx/screen_dialog.cc b/src/wx/screen_dialog.cc index 66e37a4cf..13dd9f42f 100644 --- a/src/wx/screen_dialog.cc +++ b/src/wx/screen_dialog.cc @@ -130,7 +130,7 @@ ScreenDialog::setup_sensitivity () { wxButton* ok = dynamic_cast (FindWindowById (wxID_OK, this)); if (ok) { - ok->Enable (_certificate); + ok->Enable (static_cast(_certificate)); } _download_certificate->Enable (