Update the video box time boxes when detached video is first opened

Originally committed to SVN as r5537.
This commit is contained in:
Thomas Goyne 2011-08-17 05:32:21 +00:00
parent 20258438ec
commit d3e7f02597
1 changed files with 2 additions and 0 deletions

View File

@ -159,6 +159,8 @@ VideoBox::VideoBox(wxWindow *parent, bool isDetached, agi::Context *context)
VideoSizer->AddStretchSpacer(1); VideoSizer->AddStretchSpacer(1);
SetSizer(VideoSizer); SetSizer(VideoSizer);
UpdateTimeBoxes();
Bind(wxEVT_COMMAND_BUTTON_CLICKED, &VideoBox::OnButton, this); Bind(wxEVT_COMMAND_BUTTON_CLICKED, &VideoBox::OnButton, this);
Bind(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, &VideoBox::OnButton, this); Bind(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, &VideoBox::OnButton, this);