Support unmounting on macOS and Windows.
[dcpomatic.git] / src / wx / system_information_dialog.cc
index 0e19162027570b3222e64af29c12662c34b9c840..592e7c0ef6578f7aba113511fa44921efeade761 100644 (file)
@@ -53,7 +53,7 @@ SystemInformationDialog::SystemInformationDialog (wxWindow* parent, weak_ptr<Fil
        if (!viewer) {
                add (_("unknown"), false);
        } else {
-               GLVideoView* gl = dynamic_cast<GLVideoView*>(viewer->panel());
+               GLVideoView const * gl = dynamic_cast<GLVideoView const *>(viewer->video_view());
                if (!gl) {
                        add (_("unknown"), false);
                } else {