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:
@@ -1086,7 +1086,7 @@ void OnError(const char *msg)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __WXMSW__
|
#ifdef __WXMSW__
|
||||||
wxError(msg);
|
wxLogError(msg);
|
||||||
#endif
|
#endif
|
||||||
Tex2RTFYield(TRUE);
|
Tex2RTFYield(TRUE);
|
||||||
#endif // NO_GUI
|
#endif // NO_GUI
|
||||||
|
@@ -542,8 +542,9 @@ void BibReadValue(wxSTD istream& istr, char *buffer, bool ignoreBraces = TRUE,
|
|||||||
if (i >= 4000)
|
if (i >= 4000)
|
||||||
{
|
{
|
||||||
char buf[100];
|
char buf[100];
|
||||||
sprintf(buf, "Sorry, value > 4000 chars in bib file at line %ld, terminating.", BibLine);
|
sprintf(buf, "Sorry, value > 4000 chars in bib file at line %ld.", BibLine);
|
||||||
wxFatalError(buf, "Tex2RTF Fatal Error");
|
wxLogError(buf, "Tex2RTF Fatal Error");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
istr.get(ch);
|
istr.get(ch);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user