X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Fsimple_video_view.h;h=643c782b80d554fa441c391ff40315c7fcbc38e3;hp=a6a5cf47f1783b44235c9d771c6d359ff642b6d6;hb=ef5be12ec33d0a7e5348979c7db8088dd3afab47;hpb=579d18cb7770efe2da03afaf6a33faaf624119e3 diff --git a/src/wx/simple_video_view.h b/src/wx/simple_video_view.h index a6a5cf47f..643c782b8 100644 --- a/src/wx/simple_video_view.h +++ b/src/wx/simple_video_view.h @@ -30,10 +30,6 @@ class SimpleVideoView : public VideoView public: SimpleVideoView (FilmViewer* viewer, wxWindow* parent); - void set_image (boost::shared_ptr image) { - _image = image; - } - wxWindow* get () const { return _panel; } @@ -43,6 +39,10 @@ public: bool display_next_frame (bool non_blocking); private: + void set_image (boost::shared_ptr image) { + _image = image; + } + void refresh_panel (); void paint (); void timer ();