wxXRC cleanup: removed .xmlbin format
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -297,7 +297,7 @@ void EditorFrame::LoadFile(const wxString& filename)
|
||||
m_Resource = new wxXmlRcEditDocument;
|
||||
m_Modified = FALSE;
|
||||
|
||||
if (!m_Resource->Load(filename, wxXML_IO_AUTO, wxLocale::GetSystemEncodingName()))
|
||||
if (!m_Resource->Load(filename, wxLocale::GetSystemEncodingName()))
|
||||
{
|
||||
delete m_Resource;
|
||||
m_Resource = NULL;
|
||||
|
@@ -154,7 +154,7 @@ void PreviewFrame::Preview(wxXmlNode *node,const wxString &version)
|
||||
if (XmlGetClass(doc.GetRoot()->GetChildren()) == _T("wxDialog"))
|
||||
XmlSetClass(doc.GetRoot()->GetChildren(), _T("wxPanel"));
|
||||
|
||||
doc.Save(m_TmpFile, wxXML_IO_BIN);
|
||||
doc.Save(m_TmpFile);
|
||||
// wxXmlResource will detect change automatically
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user