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:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user