diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-11-15 00:11:09 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-11-17 13:44:49 -0500 |
| commit | b94dbca160d7a7d0308d4e8d4ff7613f9e6238b1 (patch) | |
| tree | 8f2e562e6b311cac31531df17bbf1a4f346c81ba /Source/Core/DolphinWX/Frame.cpp | |
| parent | aa2fc1f66b768420fcb6958948572f0faa89986d (diff) | |
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 e2e0651cab..104c726ada 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() || |
