X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/20e453de9b64ff01a0a418f885c755db001481c6..01e4ec19805f0decf6adde30a9f77b03340d60b5:/contrib/utils/wxrcedit/editor.cpp?ds=sidebyside diff --git a/contrib/utils/wxrcedit/editor.cpp b/contrib/utils/wxrcedit/editor.cpp index 201c047d72..affbc9e01b 100644 --- a/contrib/utils/wxrcedit/editor.cpp +++ b/contrib/utils/wxrcedit/editor.cpp @@ -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;