wxID_ANY, wxDefaultSize, wxDefaultPosition, wxNOT_FOUND, true, false, tabs replacements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user