Fix update on drag with GL canvas.
[dcpomatic.git] / src / wx / gl_video_view.h
index cdc9fd530ae3045157cdcf003d19421355df145d..54c64e4eae7c80c7ce31e441535a16a10ea0cca5 100644 (file)
@@ -37,9 +37,11 @@ public:
        wxWindow* get () const {
                return _canvas;
        }
+       void update ();
 
 private:
-        void paint (wxPaintEvent& event);
+        void paint ();
+        void draw ();
 
        wxGLCanvas* _canvas;
         wxGLContext* _context;