X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c74caa095c12410bd6a555df248699cb35821a8d..dcb39c53303d1ec6884f7bcd7bc9dc101e560e62:/contrib/utils/wxrcedit/nodehnd.h diff --git a/contrib/utils/wxrcedit/nodehnd.h b/contrib/utils/wxrcedit/nodehnd.h index 945bc76d65..81d060ade1 100644 --- a/contrib/utils/wxrcedit/nodehnd.h +++ b/contrib/utils/wxrcedit/nodehnd.h @@ -32,10 +32,10 @@ class NodeHandler : public wxObject { public: static NodeHandler *Find(wxXmlNode *node); - + NodeHandler(NodeInfo *ni); virtual ~NodeHandler(); - + virtual bool CanHandle(wxXmlNode *node); virtual wxTreeItemId CreateTreeNode(wxTreeCtrl *treectrl, wxTreeItemId parent, wxXmlNode *node); @@ -45,12 +45,12 @@ class NodeHandler : public wxObject wxArrayString& GetChildTypes(); virtual void InsertNode(wxXmlNode *parent, wxXmlNode *node, wxXmlNode *insert_before = NULL); virtual wxXmlNode *GetRealNode(wxXmlNode *node) { return node; } - + protected: NodeInfo *m_NodeInfo; wxArrayString m_ChildTypes; - + static wxList ms_Handlers; static bool ms_HandlersLoaded; }; @@ -60,7 +60,7 @@ class NodeHandlerPanel : public NodeHandler { public: NodeHandlerPanel(NodeInfo *ni) : NodeHandler(ni) {} - + virtual wxTreeItemId CreateTreeNode(wxTreeCtrl *treectrl, wxTreeItemId parent, wxXmlNode *node); virtual void InsertNode(wxXmlNode *parent, wxXmlNode *node, wxXmlNode *insert_before = NULL); @@ -72,7 +72,7 @@ class NodeHandlerSizer : public NodeHandlerPanel { public: NodeHandlerSizer(NodeInfo *ni) : NodeHandlerPanel(ni) {} - + virtual void InsertNode(wxXmlNode *parent, wxXmlNode *node, wxXmlNode *insert_before = NULL); virtual int GetTreeIcon(wxXmlNode *node); }; @@ -102,7 +102,7 @@ class NodeHandlerNotebook : public NodeHandlerPanel { public: NodeHandlerNotebook(NodeInfo *ni) : NodeHandlerPanel(ni) {} - + virtual void InsertNode(wxXmlNode *parent, wxXmlNode *node, wxXmlNode *insert_before = NULL); }; @@ -111,7 +111,7 @@ class NodeHandlerNotebook : public NodeHandlerPanel class NodeHandlerNotebookPage : public NodeHandlerSizerItem { public: - NodeHandlerNotebookPage(NodeInfo *ni) : + NodeHandlerNotebookPage(NodeInfo *ni) : NodeHandlerSizerItem(ni) {} }; @@ -122,9 +122,9 @@ class NodeHandlerUnknown : public NodeHandler { public: NodeHandlerUnknown() : NodeHandler(new NodeInfo) {} - - virtual bool CanHandle(wxXmlNode *node) { return TRUE; } + + virtual bool CanHandle(wxXmlNode *WXUNUSED(node)) { return true; } }; -#endif +#endif