display file name correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
5c3e299e08
commit
744442dd11
@ -354,7 +354,7 @@ void EditorFrame::RefreshTitle()
|
||||
wxString s;
|
||||
if (m_Modified) s << _T("* ");
|
||||
s << _("wxrcedit");
|
||||
if (!m_FileName)
|
||||
if (m_FileName != "")
|
||||
s << _T(" - ") << wxFileNameFromPath(m_FileName);
|
||||
SetTitle(s);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user