Make sure that crop preview rectangle is properly hidden when we close the auto crop...
[dcpomatic.git] / src / wx / simple_video_view.h
index 26d1299b1d84fda12c4acad8b7c4a545820227ee..7a48f8ef839344c452bfae50f77785a08d737e0f 100644 (file)
 
 */
 
+
 #include "video_view.h"
 #include "lib/position.h"
-#include "lib/warnings.h"
 #include <dcp/types.h>
-DCPOMATIC_DISABLE_WARNINGS
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
 #include <wx/wx.h>
-DCPOMATIC_ENABLE_WARNINGS
+LIBDCP_ENABLE_WARNINGS
 
 class FilmViewer;
 
+
 class SimpleVideoView : public VideoView
 {
 public:
@@ -42,10 +44,6 @@ public:
        NextFrameResult display_next_frame (bool non_blocking) override;
 
 private:
-       void set_image (std::shared_ptr<const Image> image) {
-               _image = image;
-       }
-
        void refresh_panel ();
        void paint ();
        void timer ();