X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/904a226c2391014b732661d7d9687c92ef511c50..8b5be08a09b190d97df6b8938d4e56bf6284a263:/utils/wxrc/wxrc.cpp?ds=inline diff --git a/utils/wxrc/wxrc.cpp b/utils/wxrc/wxrc.cpp index ca65863eaf..23b27952a7 100644 --- a/utils/wxrc/wxrc.cpp +++ b/utils/wxrc/wxrc.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma implementation #pragma interface #endif @@ -514,7 +514,7 @@ void XmlResApp::OutputGettext() else fout.Open(parOutput, _T("wt")); for (size_t i = 0; i < str.GetCount(); i++) - fout.Write(_T("_(\"") + str[i] + _T("\")\n")); + fout.Write(_T("_(\"") + str[i] + _T("\");\n")); if (!parOutput) fout.Detach(); } @@ -601,7 +601,8 @@ wxArrayString XmlResApp::FindStrings(wxXmlNode *node) node/*not n!*/->GetName() == _T("longhelp") || node/*not n!*/->GetName() == _T("tooltip") || node/*not n!*/->GetName() == _T("htmlcode") || - node/*not n!*/->GetName() == _T("title") + node/*not n!*/->GetName() == _T("title") || + node/*not n!*/->GetName() == _T("item") )) // ...and known to contain translatable string {