added notebooks support; added not_supported variable type

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2000-07-27 18:52:12 +00:00
parent 45a248176c
commit ab13d1c58f
5 changed files with 134 additions and 14 deletions

View File

@@ -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
{