merged 2.4 branch into the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user