applied patch #427244 (wxrcedit improvements: XRC version upgrade)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2001-05-29 18:21:09 +00:00
parent 342ae8aedf
commit 43ef6d9ec7
6 changed files with 115 additions and 33 deletions

View File

@@ -47,6 +47,18 @@ enum ChangeType
};
class wxXmlRcEditDocument : public wxXmlDocument
{
// Helper functions for Upgrade()
void UpgradeNodeValue(wxXmlNode *node);
void UpgradeNode(wxXmlNode *node);
public:
// Upgrades older versions
void Upgrade();
};
class EditorFrame : public wxFrame
{
public:
@@ -80,7 +92,7 @@ class EditorFrame : public wxFrame
wxXmlNode *m_Clipboard;
wxString m_FileName;
wxXmlDocument *m_Resource;
wxXmlRcEditDocument *m_Resource;
bool m_Modified;