From 904a226c2391014b732661d7d9687c92ef511c50 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Fri, 23 Aug 2002 18:52:31 +0000 Subject: [PATCH] applied patch #599264 (fixes to wxrc -g) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/utils/wxrc/wxrc.cpp | 2 ++ utils/wxrc/wxrc.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/contrib/utils/wxrc/wxrc.cpp b/contrib/utils/wxrc/wxrc.cpp index dd50078300..ca65863eaf 100644 --- a/contrib/utils/wxrc/wxrc.cpp +++ b/contrib/utils/wxrc/wxrc.cpp @@ -567,6 +567,8 @@ static wxString ConvertText(const wxString& str) case wxT('\n') : str2 << wxT("\\n"); break; case wxT('\t') : str2 << wxT("\\t"); break; case wxT('\r') : str2 << wxT("\\r"); break; + case wxT('\\') : str2 << wxT("\\\\"); break; + case wxT('"') : str2 << wxT("\\\""); break; default : str2 << *dt; break; } } diff --git a/utils/wxrc/wxrc.cpp b/utils/wxrc/wxrc.cpp index dd50078300..ca65863eaf 100644 --- a/utils/wxrc/wxrc.cpp +++ b/utils/wxrc/wxrc.cpp @@ -567,6 +567,8 @@ static wxString ConvertText(const wxString& str) case wxT('\n') : str2 << wxT("\\n"); break; case wxT('\t') : str2 << wxT("\\t"); break; case wxT('\r') : str2 << wxT("\\r"); break; + case wxT('\\') : str2 << wxT("\\\\"); break; + case wxT('"') : str2 << wxT("\\\""); break; default : str2 << *dt; break; } } -- 2.45.2