Skip to content

Instantly share code, notes, and snippets.

@metacollin
Created September 15, 2016 05:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save metacollin/2b98e0c0c8d0a88d2a0927bb392603cc to your computer and use it in GitHub Desktop.
Save metacollin/2b98e0c0c8d0a88d2a0927bb392603cc to your computer and use it in GitHub Desktop.
=== modified file 'src/common/translation.cpp'
--- src/common/translation.cpp 2014-01-26 13:59:40 +0000
+++ src/common/translation.cpp 2014-01-26 15:18:47 +0000
@@ -1611,6 +1611,9 @@
/* static */
const wxString& wxTranslations::GetUntranslatedString(const wxString& str)
{
+ // Marco Serantoni - Dirty Patch
+ // Awaiting for http://trac.wxwidgets.org/ticket/15908
+ if( gs_translationsOwned == false) return str;
wxLocaleUntranslatedStrings& strings = wxThreadInfo.untranslatedStrings;
wxLocaleUntranslatedStrings::iterator i = strings.find(str);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment