summaryrefslogtreecommitdiff
path: root/src/wx/simple_video_view.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-05-09 17:59:10 +0100
committerCarl Hetherington <cth@carlh.net>2019-05-10 23:43:55 +0100
commitfc4f75abd3b062e8297990a482e77e32458cd169 (patch)
treebb562bd9ec330f0c5973fd6e796bdd19adfd4ac1 /src/wx/simple_video_view.cc
parentf9db80a8e61cedd001d10b555d0798798a773668 (diff)
Tidy up sized emissions from VideoView.
Diffstat (limited to 'src/wx/simple_video_view.cc')
-rw-r--r--src/wx/simple_video_view.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wx/simple_video_view.cc b/src/wx/simple_video_view.cc
index 6435e0226..d0b18d421 100644
--- a/src/wx/simple_video_view.cc
+++ b/src/wx/simple_video_view.cc
@@ -40,6 +40,7 @@ SimpleVideoView::SimpleVideoView (FilmViewer* viewer, wxWindow* parent)
_panel->SetBackgroundColour (*wxBLACK);
_panel->Bind (wxEVT_PAINT, boost::bind (&SimpleVideoView::paint, this));
+ _panel->Bind (wxEVT_SIZE, boost::bind(boost::ref(Sized)));
}
void