From a64dc820a4a19e08b3ebc80993edb3eec29f405e Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Thu, 30 Dec 2010 19:13:53 +0000 Subject: [PATCH] Remove VideoDisplay's border as on Windows it's rendered on top of the client area, hiding part of the video and throwing off hit detection for the visual tools Originally committed to SVN as r5061. --- aegisub/src/video_display.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/video_display.cpp b/aegisub/src/video_display.cpp index 2afa3c558..dcb4083b5 100644 --- a/aegisub/src/video_display.cpp +++ b/aegisub/src/video_display.cpp @@ -130,7 +130,7 @@ VideoDisplay::VideoDisplay( wxComboBox *zoomBox, wxWindow* parent, AssFile *model) -: wxGLCanvas (parent, -1, attribList, wxDefaultPosition, wxDefaultSize, wxSUNKEN_BORDER, wxPanelNameStr) +: wxGLCanvas (parent, -1, attribList, wxDefaultPosition, wxDefaultSize, 0, wxPanelNameStr) , alwaysShowTools(OPT_GET("Tool/Visual/Always Show")) , vc(VideoContext::Get()) , currentFrame(-1)