]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/utils/wxrcedit/editor.cpp
fix for gcc warning about incorrect format arg
[wxWidgets.git] / contrib / utils / wxrcedit / editor.cpp
index 201c047d72d4520cebaaac73756414ebb5c2c92e..affbc9e01bcd7b614db6c55851fa3d9ca8f88e45 100644 (file)
@@ -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;