commit fa974f219dfc372ed6bef765829b40bc0f92b7b7
Author: Jakub Bogusz <[email protected]>
Date: Sun Sep 30 16:21:38 2012 +0200
- more workarounds
wxWidgets-format.patch | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
---
diff --git a/wxWidgets-format.patch b/wxWidgets-format.patch
index fdf091c..4abb996 100644
--- a/wxWidgets-format.patch
+++ b/wxWidgets-format.patch
@@ -636,3 +636,23 @@
return false;
}
wxString cmd;
+--- wxWidgets-2.8.12/src/gtk/textctrl.cpp.orig 2011-03-22 13:01:32.000000000
+0100
++++ wxWidgets-2.8.12/src/gtk/textctrl.cpp 2012-09-30 16:21:18.987876200
+0200
+@@ -1015,7 +1015,7 @@
+ {
+ // see comment in WriteText() as to why we must warn the user about
+ // this
+- wxLogWarning(_("Failed to set text in the text control."));
++ wxLogWarning("%s", _("Failed to set text in the text control."));
+ return;
+ }
+
+@@ -1072,7 +1072,7 @@
+ // we must log an error here as losing the text like this can be a
+ // serious problem (e.g. imagine the document edited by user being
+ // empty instead of containing the correct text)
+- wxLogWarning(_("Failed to insert text in the control."));
++ wxLogWarning("%s", _("Failed to insert text in the control."));
+ return;
+ }
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/wxWidgets.git/commitdiff/fa974f219dfc372ed6bef765829b40bc0f92b7b7
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit