aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/wxsqlite3/wxsqlite3-1.9.7/wxtranslate.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/wxsqlite3/wxsqlite3-1.9.7/wxtranslate.patch')
-rw-r--r--recipes/wxsqlite3/wxsqlite3-1.9.7/wxtranslate.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/wxsqlite3/wxsqlite3-1.9.7/wxtranslate.patch b/recipes/wxsqlite3/wxsqlite3-1.9.7/wxtranslate.patch
new file mode 100644
index 0000000000..b40511cf05
--- /dev/null
+++ b/recipes/wxsqlite3/wxsqlite3-1.9.7/wxtranslate.patch
@@ -0,0 +1,11 @@
+--- wxsqlite3-1.9.7.orig/src/wxsqlite3.cpp 2009-11-09 20:59:38.000000000 +0100
++++ wxsqlite3-1.9.7/src/wxsqlite3.cpp 2009-12-06 17:58:35.000000000 +0100
+@@ -94,6 +94,8 @@ static void InitSQLite3DLL()
+
+ // Error messages
+
++#undef wxTRANSLATE
++#define wxTRANSLATE wxT
+ const wxChar* wxERRMSG_NODB = wxTRANSLATE("No Database opened");
+ const wxChar* wxERRMSG_NOSTMT = wxTRANSLATE("Statement not accessible");
+ const wxChar* wxERRMSG_NOMEM = wxTRANSLATE("Out of memory");