diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-11-17 13:51:40 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-11-17 13:51:40 -0500 |
| commit | f78600ec9e3789756fb779e47435efd76125e13d (patch) | |
| tree | b057ff4bbb0a43b328e82d4aca3fc7be67f3b09f /Source/Core/DolphinWX/Frame.cpp | |
| parent | 5fce33f91857e0ae2d551c67fd0971622362783a (diff) | |
| parent | b94dbca160d7a7d0308d4e8d4ff7613f9e6238b1 (diff) | |
Merge pull request #1562 from lioncash/host
Host: Kill off GetRenderWindowSize
Diffstat (limited to 'Source/Core/DolphinWX/Frame.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Frame.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/Source/Core/DolphinWX/Frame.cpp b/Source/Core/DolphinWX/Frame.cpp index 0a00ea0b71..7519340f5e 100644 --- a/Source/Core/DolphinWX/Frame.cpp +++ b/Source/Core/DolphinWX/Frame.cpp @@ -748,23 +748,6 @@ void CFrame::OnHostMessage(wxCommandEvent& event) } } -void CFrame::GetRenderWindowSize(int& x, int& y, int& width, int& height) -{ -#ifdef __WXGTK__ - if (!wxIsMainThread()) - wxMutexGuiEnter(); -#endif - wxRect client_rect = m_RenderParent->GetClientRect(); - width = client_rect.width; - height = client_rect.height; - x = client_rect.x; - y = client_rect.y; -#ifdef __WXGTK__ - if (!wxIsMainThread()) - wxMutexGuiLeave(); -#endif -} - void CFrame::OnRenderWindowSizeRequest(int width, int height) { if (!Core::IsRunning() || |
