From 668d33518173e621c860197bbc87db83765f0d4a Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Wed, 23 Mar 2011 02:17:03 +0000 Subject: [PATCH] Linux build fix. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7402 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DolphinWX/Src/VideoConfigDiag.cpp | 3 ++- Source/Core/DolphinWX/Src/VideoConfigDiag.h | 4 ---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Source/Core/DolphinWX/Src/VideoConfigDiag.cpp b/Source/Core/DolphinWX/Src/VideoConfigDiag.cpp index d26be7d6b9..17f5811ea9 100644 --- a/Source/Core/DolphinWX/Src/VideoConfigDiag.cpp +++ b/Source/Core/DolphinWX/Src/VideoConfigDiag.cpp @@ -5,6 +5,7 @@ #include +#include "Frame.h" #include "ISOFile.h" #include "GameListCtrl.h" @@ -129,7 +130,7 @@ void VideoConfigDiag::Event_Close(wxCloseEvent& ev) TextureCache::InvalidateDefer(); // For settings like hi-res textures/texture format/etc. } -wxString VideoConfigDiag::FormatString(const GameListItem *item) +static wxString FormatString(const GameListItem *item) { wxString title; if (item->GetCountry() == DiscIO::IVolume::COUNTRY_JAPAN diff --git a/Source/Core/DolphinWX/Src/VideoConfigDiag.h b/Source/Core/DolphinWX/Src/VideoConfigDiag.h index 50e57ba603..8f5b984794 100644 --- a/Source/Core/DolphinWX/Src/VideoConfigDiag.h +++ b/Source/Core/DolphinWX/Src/VideoConfigDiag.h @@ -6,7 +6,6 @@ #include #include "VideoConfig.h" -#include "Frame.h" #include #include @@ -124,9 +123,6 @@ protected: ev.Skip(); } - //Retrieve a title game with correct format - wxString FormatString(const GameListItem *item); - void Event_ClickClose(wxCommandEvent&); void Event_Close(wxCloseEvent&);