|
Line 0
Link Here
|
|
|
1 |
--- src/gtk/_gdi_wrap.cpp.orig 2015-04-12 18:02:36 UTC |
| 2 |
+++ src/gtk/_gdi_wrap.cpp |
| 3 |
@@ -3856,7 +3856,7 @@ const wxString& wxPyLocale::GetSingularS |
| 4 |
const wxString& domain) const |
| 5 |
{ |
| 6 |
bool found; |
| 7 |
- wxString str( _T("error in translation")); |
| 8 |
+ static wxString str( _T("error in translation")); |
| 9 |
wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
| 10 |
if ((found=wxPyCBH_findCallback(m_myInst, "GetSingularString"))) { |
| 11 |
PyObject* param1 = wx2PyString(origString); |
| 12 |
@@ -3878,7 +3878,7 @@ const wxString& wxPyLocale::GetPluralStr |
| 13 |
const wxString& domain) const |
| 14 |
{ |
| 15 |
bool found; |
| 16 |
- wxString str( _T("error in translation")); |
| 17 |
+ static wxString str( _T("error in translation")); |
| 18 |
wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
| 19 |
if ((found=wxPyCBH_findCallback(m_myInst, "GetPluralString"))) { |
| 20 |
PyObject* param1 = wx2PyString(origString); |