Fixes to detached video window.
Originally committed to SVN as r886.
This commit is contained in:
parent
19ea57a544
commit
f058f5779f
|
@ -47,7 +47,7 @@
|
||||||
///////////////
|
///////////////
|
||||||
// Constructor
|
// Constructor
|
||||||
DialogDetachedVideo::DialogDetachedVideo(FrameMain *par)
|
DialogDetachedVideo::DialogDetachedVideo(FrameMain *par)
|
||||||
: wxFrame(par,-1,_("Detached Video"))
|
: wxFrame(par,-1,_("Detached Video")/*,wxDefaultPosition,wxSize(400,300),wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | wxMAXIMIZE_BOX | wxMINIMIZE_BOX*/)
|
||||||
{
|
{
|
||||||
// Set parent
|
// Set parent
|
||||||
parent = par;
|
parent = par;
|
||||||
|
|
|
@ -293,6 +293,7 @@ void FrameMain::OnMenuOpen (wxMenuEvent &event) {
|
||||||
MenuBar->Enable(Menu_Video_AR_Wide,state);
|
MenuBar->Enable(Menu_Video_AR_Wide,state);
|
||||||
MenuBar->Enable(Menu_Video_AR_235,state);
|
MenuBar->Enable(Menu_Video_AR_235,state);
|
||||||
MenuBar->Enable(Menu_Video_AR_Custom,state);
|
MenuBar->Enable(Menu_Video_AR_Custom,state);
|
||||||
|
MenuBar->Enable(Menu_Video_Detach,state && !detachedVideo);
|
||||||
MenuBar->Enable(Menu_File_Close_VFR,VFR_Output.GetFrameRateType() == VFR);
|
MenuBar->Enable(Menu_File_Close_VFR,VFR_Output.GetFrameRateType() == VFR);
|
||||||
MenuBar->Enable(Menu_Video_Close_Keyframes,VideoContext::Get()->OverKeyFramesLoaded());
|
MenuBar->Enable(Menu_Video_Close_Keyframes,VideoContext::Get()->OverKeyFramesLoaded());
|
||||||
MenuBar->Enable(Menu_Video_Save_Keyframes,VideoContext::Get()->KeyFramesLoaded());
|
MenuBar->Enable(Menu_Video_Save_Keyframes,VideoContext::Get()->KeyFramesLoaded());
|
||||||
|
|
Loading…
Reference in a new issue