X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/43ef6d9ec748053bd32d5e7c01084de3b09ea8af..f2616db56739e4962f683f59ac9e207756efe23c:/contrib/utils/wxrcedit/editor.cpp?ds=sidebyside diff --git a/contrib/utils/wxrcedit/editor.cpp b/contrib/utils/wxrcedit/editor.cpp index 3e6a50910b..cb9a3e8e26 100644 --- a/contrib/utils/wxrcedit/editor.cpp +++ b/contrib/utils/wxrcedit/editor.cpp @@ -19,8 +19,8 @@ #endif #include "wx/wx.h" -#include "wx/xml/xml.h" -#include "wx/xml/xmlres.h" +#include "wx/xrc/xml.h" +#include "wx/xrc/xmlres.h" #include "wx/splitter.h" #include "wx/config.h" #include "wx/dir.h" @@ -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); }