Use wxFileNameFromPath, not FileNameFromPath
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17730 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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user