#define _NODEHND_H_
-class wxXmlNode;
-class wxList;
-class wxListCtrl;
+class WXDLLEXPORT wxXmlNode;
+class WXDLLEXPORT wxList;
+class WXDLLEXPORT wxListCtrl;
class EditorFrame;
HANDLER_PANEL = 1,
HANDLER_NORMAL,
HANDLER_SIZER,
- HANDLER_SIZERITEM
+ HANDLER_SIZERITEM,
+ HANDLER_NOTEBOOK,
+ HANDLER_NOTEBOOKPAGE
};
+// 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
{