summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Frame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DolphinWX/Frame.cpp')
-rw-r--r--Source/Core/DolphinWX/Frame.cpp17
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() ||