$NetBSD: patch-aa,v 1.2 2004/03/30 18:23:46 ben Exp $ --- tex2rtf.cpp.orig Wed Aug 7 16:04:05 2002 +++ tex2rtf.cpp @@ -330,7 +330,7 @@ bool MyApp::OnInit() if (InputFile) { - sprintf(buf, "Tex2RTF [%s]", FileNameFromPath(InputFile)); + sprintf(buf, "Tex2RTF [%s]", wxFileNameFromPath(InputFile)); frame->SetTitle(buf); } @@ -967,7 +967,7 @@ bool Go(void) if (InputFile && OutputFile) { - if (!FileExists(InputFile)) + if (!wxFileExists(InputFile)) { OnError("Cannot open input file!"); TexCleanUp();