From 6495becaf77ca5535510c509c654727f053af47d Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 30 Mar 2017 16:05:17 -0400 Subject: [PATCH] Frame: Remove GetGameListCtrl() This is currently unused and shouldn't actually be a part of the frame's public interface. The event system should be used instead to dispatch messages to the game list control if necessary. --- Source/Core/DolphinWX/Frame.cpp | 5 ----- Source/Core/DolphinWX/Frame.h | 1 - 2 files changed, 6 deletions(-) diff --git a/Source/Core/DolphinWX/Frame.cpp b/Source/Core/DolphinWX/Frame.cpp index 90020c9005..845839e046 100644 --- a/Source/Core/DolphinWX/Frame.cpp +++ b/Source/Core/DolphinWX/Frame.cpp @@ -1197,11 +1197,6 @@ void CFrame::DoExclusiveFullscreen(bool enable_fullscreen) Core::PauseAndLock(false, was_unpaused); } -const CGameListCtrl* CFrame::GetGameListCtrl() const -{ - return m_GameListCtrl; -} - void CFrame::PollHotkeys(wxTimerEvent& event) { if (!HotkeyManagerEmu::IsEnabled()) diff --git a/Source/Core/DolphinWX/Frame.h b/Source/Core/DolphinWX/Frame.h index 1555a1fe0a..f32973d3af 100644 --- a/Source/Core/DolphinWX/Frame.h +++ b/Source/Core/DolphinWX/Frame.h @@ -102,7 +102,6 @@ public: bool RendererIsFullscreen(); void OpenGeneralConfiguration(wxWindowID tab_id = wxID_ANY); - const CGameListCtrl* GetGameListCtrl() const; wxMenuBar* GetMenuBar() const override; Common::Event panic_event;