<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<definitions>
<!--
  Object type definitions
  -----------------------
  
  All wxFormBuilder objects have a type which is used for building
  a well-formed tree. You will be able to create an object if its
  type is defined as a child-type of the parent object type.
  For example, you can create a wxFrame (type form) below the project
  object, but not in any other place.
  
  If a type has the "item" flag set to one, it means that the object
  with that type is not a regular (as controls and sizers) object,
  it's a "item" object.
  
  Items are used to extend the set of properties of the object inside it.
  For example, every object created below a sizer will have the sizeritem properties,
  needed to add the object into the sizer.
  
  Item objects are created implicitly by wxFormBuilder. If the object
  creation fails by checking the types, wxFB tries to find a item object
  that match the placement rules.
  
  For example, if you try to create a wxButton (type "widget") below
  a wxBoxSizer (type "sizer"), the creation fails at the first instance
  because a sizer can't contain a widget. Then, wxFB checks if the
  "widget" can be created with a item between them and it finds that
  a widget can be created below a sizer if there is a sizeritem between
  them.
  
  Note: the name of item type has to the same that the class associated to
        that item. wxFB needs to know the class name in order to create
	the object automatically.
  
  Items objects are not showed in the object tree, but the properties
  are showed attached with the inner object properties.
  
  "nmax" flag of a childtype object indicates the maximum number
  of objects that can be created. Items should contains just one
  object, so nmax is set to '1'.

  "aui_nmax" flag has the same meaning like "nmax" but it is used for
  frames managed by AUI only.
  -->
  <objtype name="project">
    <childtype name="form" />
    <childtype name="wizard"/>
    <childtype name="menubar_form" />
    <childtype name="toolbar_form" />
  </objtype>

  <objtype name="interface" />

  <objtype name="form">
    <childtype name="sizer" nmax="1" aui_nmax="0" />
	<childtype name="gbsizer" nmax="1" aui_nmax="0" />
    <childtype name="menubar" nmax="1" aui_nmax="1" />
    <childtype name="menu" nmax="1" aui_nmax="1" />
    <childtype name="statusbar" nmax="1" aui_nmax="1" />
    <childtype name="toolbar" nmax="1" />
    <childtype name="widget" nmax="0" />
    <childtype name="expanded_widget" nmax="0" />
    <childtype name="container" nmax="0" />
    <childtype name="notebook" nmax="0" />
    <childtype name="auinotebook" nmax="0" />
    <childtype name="flatnotebook" nmax="0" />
    <childtype name="listbook" nmax="0" />
    <childtype name="simplebook" nmax="0" />
    <childtype name="choicebook" nmax="0" />
    <childtype name="treelistctrl" nmax="0" />
    <childtype name="splitter" nmax="0" />
	<childtype name="nonvisual" />
    <childtype name="ribbonbar" nmax="0" />
    <childtype name="dataviewctrl" nmax="0" />
    <childtype name="dataviewtreectrl" nmax="0" />
    <childtype name="dataviewlistctrl" nmax="0" />
    <childtype name="propgrid" nmax="0" />
    <childtype name="propgridman" nmax="0" />
 </objtype>

    <objtype name="wizard">
        <childtype name="wizardpagesimple"/>
        <childtype name="menu" nmax="1" />
    </objtype>

    <objtype name="wizardpagesimple">
        <childtype name="sizer" nmax="1" />
        <childtype name="gbsizer" nmax="1" />
        <childtype name="menu" nmax="1" />
    </objtype>

  <objtype name="menubar_form">
    <childtype name="menu" />
  </objtype>

  <objtype name="toolbar_form">
    <childtype name="tool" />
    <childtype name="widget" />
    <childtype name="expanded_widget" />
  </objtype>

  <objtype name="widget">
	<childtype name="menu" nmax="1" aui_nmax="1"/>
  </objtype>
  
  <objtype name="expanded_widget">
	<childtype name="menu" nmax="1" aui_nmax="1"/>
  </objtype>
  
  <objtype name="sizer">
    <childtype name="sizeritem" />
  </objtype>

  <objtype name="gbsizer">
    <childtype name="gbsizeritem"/>
  </objtype>

  <objtype name="container">
    <childtype name="sizer" nmax="1" aui_nmax="1" />
    <childtype name="gbsizer" nmax="1" aui_nmax="1" />
    <childtype name="menu" nmax="1" aui_nmax="1" />
  </objtype>

  <objtype name="sizeritem" item="1">
    <childtype name="widget" nmax="1" aui_nmax="1" />
    <childtype name="expanded_widget" nmax="1" aui_nmax="1" />
    <childtype name="container" nmax="1" aui_nmax="1" />
    <childtype name="sizer" nmax="1" aui_nmax="1" />
    <childtype name="gbsizer" nmax="1" aui_nmax="1" />
    <childtype name="notebook" nmax="1" aui_nmax="1" />
    <childtype name="flatnotebook" nmax="1" aui_nmax="1" />
    <childtype name="listbook" nmax="1" aui_nmax="1" />
    <childtype name="simplebook" nmax="1" aui_nmax="1" />
    <childtype name="choicebook" nmax="1" aui_nmax="1" />
	<childtype name="auinotebook" nmax="1" aui_nmax="1" />
    <childtype name="splitter" nmax="1" aui_nmax="1" />
    <childtype name="toolbar" nmax="1" aui_nmax="1" />
    <childtype name="treelistctrl" nmax="1" aui_nmax="1" />
    <childtype name="ribbonbar" nmax="1" />
    <childtype name="dataviewctrl" nmax="1" />
    <childtype name="dataviewlistctrl" nmax="1" />
    <childtype name="dataviewtreectrl" nmax="1" />
    <childtype name="propgrid" nmax="1" />
    <childtype name="propgridman" nmax="1" />
  </objtype>

  <objtype name="gbsizeritem" item="1">
    <childtype name="widget" nmax="1" aui_nmax="1" />
    <childtype name="expanded_widget" nmax="1" aui_nmax="1" />
    <childtype name="container" nmax="1" aui_nmax="1" />
    <childtype name="sizer" nmax="1" aui_nmax="1" />
    <childtype name="gbsizer" nmax="1" aui_nmax="1" />
    <childtype name="notebook" nmax="1" aui_nmax="1" />
    <childtype name="flatnotebook" nmax="1" aui_nmax="1" />
    <childtype name="listbook" nmax="1" aui_nmax="1" />
    <childtype name="choicebook" nmax="1" aui_nmax="1" />
    <childtype name="simplebook" nmax="1" aui_nmax="1" />
	<childtype name="auinotebook" nmax="1" aui_nmax="1" />
    <childtype name="splitter" nmax="1" aui_nmax="1" />
    <childtype name="toolbar" nmax="1" aui_nmax="1" />
    <childtype name="treelistctrl" nmax="1" aui_nmax="1" />
    <childtype name="ribbonbar" nmax="1" />
    <childtype name="dataviewctrl" nmax="1" />
    <childtype name="dataviewlistctrl" nmax="1" />
    <childtype name="dataviewtreectrl" nmax="1" />
    <childtype name="propgrid" nmax="1" />
    <childtype name="propgridman" nmax="1" />
  </objtype>

  <objtype name="splitter" >
    <childtype name="splitteritem" nmax="2" aui_nmax="2" />
  </objtype>

  <objtype name="splitteritem" item="1">
    <childtype name="container" nmax="1" aui_nmax="1" />
  </objtype>

  <objtype name="notebook" >
    <childtype name="notebookpage" />
  </objtype>

  <objtype name="notebookpage" item="1">
    <childtype name="container" nmax="1" aui_nmax="1" />
  </objtype>

  <objtype name="flatnotebook" >
    <childtype name="flatnotebookpage" />
  </objtype>

  <objtype name="flatnotebookpage" item="1">
    <childtype name="container" nmax="1" aui_nmax="1" />
  </objtype>

  <objtype name="listbook" >
    <childtype name="listbookpage" />
  </objtype>

  <objtype name="listbookpage" item="1">
    <childtype name="container" nmax="1" aui_nmax="1" />
  </objtype>

  <objtype name="choicebook" >
    <childtype name="choicebookpage" />
  </objtype>

  <objtype name="choicebookpage" item="1">
    <childtype name="container" nmax="1" aui_nmax="1" />
  </objtype>

  <objtype name="simplebook" >
	<childtype name="simplebookpage" />
  </objtype>

  <objtype name="simplebookpage" item="1">
	<childtype name="container" nmax="1" aui_nmax="1" />
  </objtype>

  <objtype name="auinotebook" >
    <childtype name="auinotebookpage" />
  </objtype>

  <objtype name="auinotebookpage" item="1">
    <childtype name="container" nmax="1" aui_nmax="1" />
  </objtype>
  
  <objtype name="menubar">
    <childtype name="menu" />
  </objtype>

  <objtype name="menu">
    <childtype name="menuitem" />
    <childtype name="submenu" />
  </objtype>

  <objtype name="menuitem" />

  <objtype name="submenu">
    <childtype name="menuitem" />
    <childtype name="submenu" />
  </objtype>

  <objtype name="ribbonbar" >
    <childtype name="ribbonpage" />
  </objtype>

  <objtype name="ribbonpage" >
    <childtype name="ribbonpanel" />
  </objtype>

  <objtype name="ribbonpanel" >
    <childtype name="ribbonbuttonbar" nmax="1" />
    <childtype name="ribbontoolbar" nmax="1"  />
    <childtype name="ribbongallery" nmax="1" />
  </objtype>

  <objtype name="ribbonbuttonbar" >
    <childtype name="ribbonbutton" />
    <childtype name="ribbondropdownbutton" />
    <childtype name="ribbonhybridbutton" />
    <childtype name="ribbontogglebutton" />
  </objtype>

  <objtype name="ribbonbutton" />

  <objtype name="ribbondropdownbutton" />

  <objtype name="ribbonhybridbutton" />

  <objtype name="ribbontogglebutton" />

  <objtype name="ribbontoolbar" >
    <childtype name="ribbontool" />
    <childtype name="ribbondropdowntool" />
    <childtype name="ribbonhybridtool" />
    <childtype name="ribbontoggletool" />
  </objtype>

  <objtype name="ribbontool" />

  <objtype name="ribbondropdowntool" />

  <objtype name="ribbonhybridtool" />

  <objtype name="ribbontoggletool" />

  <objtype name="ribbongallery" >
    <childtype name="ribbongalleryitem" />
  </objtype>

  <objtype name="ribbongalleryitem" />

  <objtype name="statusbar" />

  <objtype name="toolbar">
    <childtype name="tool" />
    <childtype name="widget" />
    <childtype name="expanded_widget" />
  </objtype>

  <objtype name="tool">
    <childtype name="menu" nmax="1" aui_nmax="1" />
  </objtype>

  <objtype name="treelistctrl" >
    <childtype name="treelistctrlcolumn" />
	<childtype name="menu" nmax="1" aui_nmax="1"/>
  </objtype>

  <objtype name="treelistctrlcolumn" />
  
  <objtype name="nonvisual" />

  <objtype name="dataviewctrl">
	<childtype name="dataviewcolumn" />
    <!-- <childtype name="menu" nmax="1" aui_nmax="1"/> -->
  </objtype>

  <objtype name="dataviewtreectrl">
  </objtype>

  <objtype name="dataviewlistctrl" >
    <childtype name="dataviewlistcolumn" />
	<!-- <childtype name="menu" nmax="1" aui_nmax="1"/> -->
  </objtype>
  
  <objtype name="dataviewlistcolumn" />
  
  <objtype name="dataviewcolumn" />
  
  <objtype name="propgrid">
	<childtype name="menu" nmax="1" aui_nmax="1"/>
  </objtype>
  
  <objtype name="propgridman">
    <childtype name="menu" nmax="1" aui_nmax="1"/>
  </objtype>
  
  <objtype name="propgriditem" />
  <objtype name="propgridpage" />
  
  <objtype name="propgridman" >
    <childtype name="propgridpage" />
  </objtype>

  <objtype name="propgridpage" >
    <childtype name="propgriditem" />
  </objtype>
  
  <objtype name="propgrid" >
    <childtype name="propgriditem" />
  </objtype>

</definitions>

