X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab7ce33c563651f790f99d64ee56727706047ae3..4818141bb228bbb59df63de12a5ea31801314b57:/contrib/utils/wxrcedit/editor.h diff --git a/contrib/utils/wxrcedit/editor.h b/contrib/utils/wxrcedit/editor.h index a81f2d0892..90917acff9 100644 --- a/contrib/utils/wxrcedit/editor.h +++ b/contrib/utils/wxrcedit/editor.h @@ -63,7 +63,7 @@ class EditorFrame : public wxFrame { public: friend class EditorTreeCtrl; - + EditorFrame(wxFrame *parent, const wxString& filename); ~EditorFrame(); @@ -71,31 +71,31 @@ class EditorFrame : public wxFrame void NewFile(); void SaveFile(const wxString& filename); wxString GetFileName() { return m_FileName; } - + void RefreshTree(); void RefreshTitle(); bool SelectNode(wxXmlNode *node, wxTreeItemId *root = NULL); - + wxTreeItemId CreateTreeNode(wxTreeCtrl *treectrl, wxTreeItemId parent, wxXmlNode *node); - + void NotifyChanged(int change_type); - + static EditorFrame *Get() { return ms_Instance; } - + private: static EditorFrame *ms_Instance; - + wxTreeCtrl *m_TreeCtrl; - + wxXmlNode *m_SelectedNode; - + wxXmlNode *m_Clipboard; wxString m_FileName; wxXmlRcEditDocument *m_Resource; - + bool m_Modified; - + bool AskToSave(); void DeleteSelectedNode();