aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/wxgtk31/files/patch-src-common-translation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/wxgtk31/files/patch-src-common-translation.cpp')
-rw-r--r--x11-toolkits/wxgtk31/files/patch-src-common-translation.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-toolkits/wxgtk31/files/patch-src-common-translation.cpp b/x11-toolkits/wxgtk31/files/patch-src-common-translation.cpp
new file mode 100644
index 000000000000..5002755f8545
--- /dev/null
+++ b/x11-toolkits/wxgtk31/files/patch-src-common-translation.cpp
@@ -0,0 +1,11 @@
+--- src/common/translation.cpp.orig 2011-02-18 15:12:53.000000000 +0600
++++ src/common/translation.cpp 2011-02-18 15:15:10.000000000 +0600
+@@ -1302,7 +1302,7 @@
+
+ bool wxTranslations::AddStdCatalog()
+ {
+- if ( !AddCatalog(wxS("wxstd")) )
++ if ( !AddCatalog(wxS("wxstd") wxSTRINGIZE(wxMAJOR_VERSION) wxSTRINGIZE(wxMINOR_VERSION)) )
+ return false;
+
+ // there may be a catalog with toolkit specific overrides, it is not