diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-08-21 14:14:54 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-08-21 14:14:54 -0400 |
| commit | f17dcd201906c33074d5979390768ed74eb9709f (patch) | |
| tree | ab06743826b4f8a6c7e90ad32edc7b75a6410a6e /Source/Core/DolphinWX/FrameTools.cpp | |
| parent | cf82972961baa120675fa038b82cf99c8404ab1b (diff) | |
| parent | 6dbafa92389f52c6bd0140b4525b563fe74af0f2 (diff) | |
Merge pull request #764 from magcius/new-nogui-2
Rewrite GLInterface
Diffstat (limited to 'Source/Core/DolphinWX/FrameTools.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/FrameTools.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/Source/Core/DolphinWX/FrameTools.cpp b/Source/Core/DolphinWX/FrameTools.cpp index 04f2e4dd1e..a9334686fc 100644 --- a/Source/Core/DolphinWX/FrameTools.cpp +++ b/Source/Core/DolphinWX/FrameTools.cpp @@ -2,18 +2,6 @@ // Licensed under GPLv2 // Refer to the license.txt file included. - -/* -1.1 Windows - -CFrame is the main parent window. Inside CFrame there is m_Panel which is the -parent for the rendering window (when we render to the main window). In Windows -the rendering window is created by giving CreateWindow() m_Panel->GetHandle() -as parent window and creating a new child window to m_Panel. The new child -window handle that is returned by CreateWindow() can be accessed from -Core::GetWindowHandle(). -*/ - #include <cstdarg> #include <cstdio> #include <mutex> @@ -840,13 +828,6 @@ void CFrame::OnRenderParentResize(wxSizeEvent& event) SConfig::GetInstance().m_LocalCoreStartupParameter.iRenderWindowWidth = width; SConfig::GetInstance().m_LocalCoreStartupParameter.iRenderWindowHeight = height; } -#if defined(HAVE_X11) && HAVE_X11 - wxRect client_rect = m_RenderParent->GetClientRect(); - XMoveResizeWindow(X11Utils::XDisplayFromHandle(GetHandle()), - (Window) Core::GetWindowHandle(), - client_rect.x, client_rect.y, - client_rect.width, client_rect.height); -#endif m_LogWindow->Refresh(); m_LogWindow->Update(); } |
