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/simple_video_view.cc | |
| parent | 45b0314b61c3c3b588648fb410f82546a4e5b40c (diff) | |
Fix update on drag with GL canvas.
Diffstat (limited to 'src/wx/simple_video_view.cc')
| -rw-r--r-- | src/wx/simple_video_view.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/wx/simple_video_view.cc b/src/wx/simple_video_view.cc index d0b18d421..ef0c96ef2 100644 --- a/src/wx/simple_video_view.cc +++ b/src/wx/simple_video_view.cc @@ -118,3 +118,10 @@ SimpleVideoView::paint () dc.DrawRectangle (inter_position.x, inter_position.y + (panel_size.GetHeight() - out_size.height) / 2, inter_size.width, inter_size.height); } } + +void +SimpleVideoView::update () +{ + _panel->Refresh (); + _panel->Update (); +} |
