wxrcedit bugfixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -61,6 +61,7 @@ class EditorFrame : public wxFrame
|
||||
wxString GetFileName() { return m_FileName; }
|
||||
|
||||
void RefreshTree();
|
||||
void RefreshTitle();
|
||||
bool SelectNode(wxXmlNode *node, wxTreeItemId *root = NULL);
|
||||
|
||||
wxTreeItemId CreateTreeNode(wxTreeCtrl *treectrl, wxTreeItemId parent, wxXmlNode *node);
|
||||
@@ -80,6 +81,11 @@ class EditorFrame : public wxFrame
|
||||
|
||||
wxString m_FileName;
|
||||
wxXmlDocument *m_Resource;
|
||||
|
||||
bool m_Modified;
|
||||
|
||||
bool AskToSave();
|
||||
void DeleteSelectedNode();
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
void OnTreeSel(wxTreeEvent& event);
|
||||
@@ -88,8 +94,7 @@ class EditorFrame : public wxFrame
|
||||
void OnNewNode(wxCommandEvent& event);
|
||||
void OnRightClickTree(wxPoint pos);
|
||||
void OnClipboardAction(wxCommandEvent& event);
|
||||
|
||||
void DeleteSelectedNode();
|
||||
void OnCloseWindow(wxCloseEvent&);
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user