]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/utils/wxrcedit/preview.cpp
Always send an erase event to satisfy some users...
[wxWidgets.git] / contrib / utils / wxrcedit / preview.cpp
index 9aeb6154019746d3c272703918f6b6e9bdf9cb9b..ddf3be2b61d5962b749b1864d8522730d01af21f 100644 (file)
@@ -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
    }