From 50756d69c08e5f6da8d0a9d14eb924aeb5cec3ca Mon Sep 17 00:00:00 2001 From: EmptyChaos Date: Wed, 3 Aug 2016 14:36:32 +0000 Subject: WX: Various fixes. Dolphin no longer lowers itself below the top window when opening. Dolphin no longer draws garbage lines all over the game list. Use the correct platform macros so Dolphin can actually find the translation catalogs on Unix. --- Source/Core/DolphinWX/Main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/Core/DolphinWX/Main.cpp') diff --git a/Source/Core/DolphinWX/Main.cpp b/Source/Core/DolphinWX/Main.cpp index 20460e258c..6e94b06316 100644 --- a/Source/Core/DolphinWX/Main.cpp +++ b/Source/Core/DolphinWX/Main.cpp @@ -307,11 +307,11 @@ void DolphinApp::InitLanguageSupport() m_locale.reset(new wxLocale(language)); // Specify where dolphins *.gmo files are located on each operating system -#ifdef _WIN32 +#ifdef __WXMSW__ m_locale->AddCatalogLookupPathPrefix(StrToWxStr(File::GetExeDirectory() + DIR_SEP "Languages")); -#elif defined(__LINUX__) +#elif defined(__WXGTK__) m_locale->AddCatalogLookupPathPrefix(StrToWxStr(DATA_DIR "../locale")); -#elif defined(__APPLE__) +#elif defined(__WXOSX__) m_locale->AddCatalogLookupPathPrefix( StrToWxStr(File::GetBundleDirectory() + "Contents/Resources")); #endif -- cgit v1.2.3