diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-05-10 16:37:16 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-05-10 23:43:55 +0100 |
| commit | e153d7f5dc128d97160e41bdda3c4e4a05c7140b (patch) | |
| tree | 707f9798a7a6ecd027bc64894351430c6da7b940 /src/wx/gl_video_view.h | |
| parent | 45b0314b61c3c3b588648fb410f82546a4e5b40c (diff) | |
Fix update on drag with GL canvas.
Diffstat (limited to 'src/wx/gl_video_view.h')
| -rw-r--r-- | src/wx/gl_video_view.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wx/gl_video_view.h b/src/wx/gl_video_view.h index cdc9fd530..54c64e4ea 100644 --- a/src/wx/gl_video_view.h +++ b/src/wx/gl_video_view.h @@ -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; |
