X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/56d2f75071fc2a29ec10abe97c5a908bb35f30f4..b008b592cce934305dfa2eaaae0cd824b0d1e1cb:/contrib/utils/wxrcedit/nodehnd.h diff --git a/contrib/utils/wxrcedit/nodehnd.h b/contrib/utils/wxrcedit/nodehnd.h index fda59e050a..8001b5fece 100644 --- a/contrib/utils/wxrcedit/nodehnd.h +++ b/contrib/utils/wxrcedit/nodehnd.h @@ -15,9 +15,9 @@ #define _NODEHND_H_ -class wxXmlNode; -class wxList; -class wxListCtrl; +class WXDLLEXPORT wxXmlNode; +class WXDLLEXPORT wxList; +class WXDLLEXPORT wxListCtrl; class EditorFrame; @@ -33,7 +33,9 @@ enum HandlerType HANDLER_PANEL = 1, HANDLER_NORMAL, HANDLER_SIZER, - HANDLER_SIZERITEM + HANDLER_SIZERITEM, + HANDLER_NOTEBOOK, + HANDLER_NOTEBOOKPAGE }; @@ -125,6 +127,26 @@ class NodeHandlerSizerItem : public NodeHandler +// wxNotebook handler +class NodeHandlerNotebook : public NodeHandlerPanel +{ + public: + NodeHandlerNotebook(EditorFrame *frame, NodeInfo *ni) : NodeHandlerPanel(frame, ni) {} + + virtual void InsertNode(wxXmlNode *parent, wxXmlNode *node, wxXmlNode *insert_before = NULL); +}; + + +// notebook page handler +class NodeHandlerNotebookPage : public NodeHandlerSizerItem +{ + public: + NodeHandlerNotebookPage(EditorFrame *frame, NodeInfo *ni) : + NodeHandlerSizerItem(frame, ni) {} +}; + + + // Generic handler which handles everything class NodeHandlerUnknown : public NodeHandler {