From 11611a6211e902512ea357a0c790c32069a19099 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Fri, 22 Mar 2002 20:59:11 +0000 Subject: [PATCH] Don't use deprecated functions git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- utils/tex2rtf/src/tex2rtf.cpp | 2 +- utils/tex2rtf/src/texutils.cpp | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/utils/tex2rtf/src/tex2rtf.cpp b/utils/tex2rtf/src/tex2rtf.cpp index a8cb70c961..a1d0838110 100644 --- a/utils/tex2rtf/src/tex2rtf.cpp +++ b/utils/tex2rtf/src/tex2rtf.cpp @@ -1086,7 +1086,7 @@ void OnError(const char *msg) #endif #ifdef __WXMSW__ - wxError(msg); + wxLogError(msg); #endif Tex2RTFYield(TRUE); #endif // NO_GUI diff --git a/utils/tex2rtf/src/texutils.cpp b/utils/tex2rtf/src/texutils.cpp index 42ed6ef86d..ef76580db1 100644 --- a/utils/tex2rtf/src/texutils.cpp +++ b/utils/tex2rtf/src/texutils.cpp @@ -542,8 +542,9 @@ void BibReadValue(wxSTD istream& istr, char *buffer, bool ignoreBraces = TRUE, if (i >= 4000) { char buf[100]; - sprintf(buf, "Sorry, value > 4000 chars in bib file at line %ld, terminating.", BibLine); - wxFatalError(buf, "Tex2RTF Fatal Error"); + sprintf(buf, "Sorry, value > 4000 chars in bib file at line %ld.", BibLine); + wxLogError(buf, "Tex2RTF Fatal Error"); + return; } istr.get(ch);