osx: Add the full screen button to the detached video dialog

Originally committed to SVN as r6888.
This commit is contained in:
Thomas Goyne 2012-06-07 02:48:11 +00:00
parent b65e867455
commit 26a5fbe4b8

View file

@ -49,6 +49,7 @@
#include "main.h"
#include "persist_location.h"
#include "utils.h"
#include "video_box.h"
#include "video_context.h"
#include "video_display.h"
@ -95,6 +96,8 @@ DialogDetachedVideo::DialogDetachedVideo(agi::Context *context)
Bind(wxEVT_CLOSE_WINDOW, &DialogDetachedVideo::OnClose, this);
Bind(wxEVT_ICONIZE, &DialogDetachedVideo::OnMinimize, this);
Bind(wxEVT_CHAR_HOOK, &DialogDetachedVideo::OnKeyDown, this);
AddFullScreenButton(this);
}
DialogDetachedVideo::~DialogDetachedVideo() { }