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.
This commit is contained in:
Thomas Goyne 2010-12-30 19:13:53 +00:00
parent 5f0ba21e30
commit a64dc820a4
1 changed files with 1 additions and 1 deletions

View File

@ -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)