Small fixes for Tex2RTF but alas, we still get memory problems.

Added wxUSE_MFC setting (doesn't include windows.h, removes own memory
tracing); added include <ctype.h> in case where PCH isn't used;
wxExit now exits :-)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2000-03-10 11:18:22 +00:00
parent 0a5835068c
commit 3f8e5072f7
12 changed files with 68 additions and 30 deletions

View File

@@ -241,6 +241,7 @@ bool MyApp::OnInit()
else
{
OnError("Incorrect argument for -charset");
return FALSE;
}
}
}
@@ -254,6 +255,7 @@ bool MyApp::OnInit()
ShowOptions();
exit(1);
#endif
return FALSE;
}
}
@@ -854,7 +856,7 @@ void OnError(char *msg)
cerr << "Error: " << msg << "\n";
cerr.flush();
#else
if (isInteractive)
if (isInteractive && frame)
(*frame->textWindow) << "Error: " << msg << "\n";
else
#ifdef __UNIX__
@@ -876,7 +878,7 @@ void OnInform(char *msg)
cout << msg << "\n";
cout.flush();
#else
if (isInteractive)
if (isInteractive && frame)
(*frame->textWindow) << msg << "\n";
else
#ifdef __WXMSW__