Don't use deprecated functions

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2002-03-22 20:59:11 +00:00
parent aed3314d6e
commit 11611a6211
2 changed files with 4 additions and 3 deletions

View File

@ -1086,7 +1086,7 @@ void OnError(const char *msg)
#endif
#ifdef __WXMSW__
wxError(msg);
wxLogError(msg);
#endif
Tex2RTFYield(TRUE);
#endif // NO_GUI

View File

@ -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);