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:
parent
aed3314d6e
commit
11611a6211
@ -1086,7 +1086,7 @@ void OnError(const char *msg)
|
||||
#endif
|
||||
|
||||
#ifdef __WXMSW__
|
||||
wxError(msg);
|
||||
wxLogError(msg);
|
||||
#endif
|
||||
Tex2RTFYield(TRUE);
|
||||
#endif // NO_GUI
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user