///////
/////// wxWorkshop's default widget-descriptors
/////// =======================================
///////
/////// Used for presending widget-information as well
/////// as storing/loading it to .xrc resource files
///////
/////// 2001 (C) Aleksandras Gluchovas (email: alex@soften.ktu.lt)
///////
/////// $Id: config_widgets.txt,v 1.21 2001/04/21 09:41:08 hansvl Exp $
///////

/// Property sets (reused among widget-descriptors) ///

prop_set = {
	name = "pos"
	glued_with = ","

	props = { 
		x = { NUMBER "-1" initValue="0" }
		y = { NUMBER "-1" initValue="0" }
	}
}

prop_set = {
	name = "size"
	glued_with = ","

	props = {
		width  = { NUMBER "-1" initValue="0" }
		height = { NUMBER "-1" initValue="0" }
	}
}

prop_set = {
	name = "font"
	
	props = {
		fontPoints = { NUMBER "10" initValue="10" }
		fontFamily = { FLAG { wxSWISS wxMODERN wxDECORATIVE wxROMAN wxSCRIPT } "wxSWISS" }
		fontStyle  = { FLAG { wxNORMAL wxITALIC wxSLANT } "wxNORMAL" }
		fontWeight = { FLAG { wxNORMAL wxBOLD wxLIGHT } "wxNORMAL" }
		fontUnderlined = { BOOLEAN 0 }
		hidden = { BOOLEAN 0 }
	}
}

prop_set = {

	name = "common_properties"

	props = 
	{
		name = { STRING "" initValue="Name" }
		
		pos

		size

		subclass = { STRING "" }

		font = { FONT "" }
		fg   = { COLOR "" displayName="foreground" }
		bg   = { COLOR "" displayName="background" }
		
		enabled = { BOOLEAN 1 }
		focused = { BOOLEAN 0 }


		border_style = { FLAG 
				 		 { ""  wxSIMPLE_BORDER wxRAISED_BORDER wxSUNKEN_BORDER  } 
			   	 		"zz" initValue ="" displayName="border" visibleOnly=true
			       	   }
	}
}

prop_set = {

	name = "top_level_wnd_props"

	props = 
	{
		centered = { BOOLEAN 0 }

		hasCaption         = { BOOLEAN_FLAG { 1 0 } { wxCAPTION "" }
					          "1" displayName="hasCaption" visibleOnly=true }

		hasSystemMenu     =  { BOOLEAN_FLAG { 1 0 } { wxSYSTEM_MENU "" }
					           "1" displayName="hasSystemMenu" visibleOnly=true }

		hasResizableBorder = { BOOLEAN_FLAG { 1 0 } { wxRESIZE_BORDER "" }
					           "1" displayName="hasResizableBorder" visibleOnly=true }

		hasThickFrame      = { BOOLEAN_FLAG { 1 0 } { wxTHICK_FRAME "" }
					           "0" displayName="hasThickFrame" visibleOnly=true }

		isModal            = { BOOLEAN_FLAG { 1 0 } { wxDIALOG_MODAL "" }
					           "0" displayName="isModal" visibleOnly=true }

		hasMinimizeBox    = { BOOLEAN_FLAG { 1 0 } { wxMINIMIZE_BOX "" }
					           "0" displayName="hasMinimizeBox" visibleOnly=true }

		hasMaximizeBox    = { BOOLEAN_FLAG { 1 0 } { wxMAXIMIZE_BOX "" }
					           "0" displayName="hasMaximizeBox" visibleOnly=true }

		stayOnTop          = { BOOLEAN_FLAG { 1 0 } { wxSTAY_ON_TOP "" }
					           "0" displayName="stayOnTop" visibleOnly=true }

		tabTraversal       = { BOOLEAN_FLAG { 1 0 } { wxTAB_TRAVERSAL "" }
					          "1" initValue="1" displayName="tabTraversal" visibleOnly=true }

		tabTraversal       = { BOOLEAN_FLAG { 1 0 } { wxTAB_TRAVERSAL "" }
					          "1" initValue="1" displayName="tabTraversal" visibleOnly=true }
	}
}


//////////////////////////////////////////////////////
/////////////// Widget descriptors ///////////////////
//////////////////////////////////////////////////////

unknown_widget = {

	tag = "unknown_widget"
	widget_class = "wx__Unknown__Widget"
	display_name_expr = "name + \" (Unknown!)\""

	props = {
		name = { STRING "" displayName="Name" initValue="Name" }
		
		pos

		size
	}

    toolbar_icon = {
        colors = "FF0000"
        pixels = "
        0000000000000000
        0000000000000000
        0000000000000000
        0000000000000000
        0000000000000000
        0000000000000000
        0000000000000000
        0000000000000000
        0000000000000000
        0000000000000000
        0000000000000000
        0000000000000000
        0000000000000000
        0000000000000000
        0000000000000000
        0000000000000000
        "
	}
}

widget = {

	tag = "button"
	widget_class = "wxButton"
	display_name_expr = "name + \" (wxButton)\""
	
	text_property = "label"

	inheritsBg   = "false"
	inheritsFg	 = "false"
	inheritsFont = "true"

	props = {
		common_properties
		label = { STRING "" initValue="button" }
		default = { BOOLEAN 0 }
		style = border_style
	}
    
    group = "Common Widgets"  

    toolbar_icon = {
        colors = "FF0000 000000 FFFFFF 848484 C6C6C6"
        pixels = "
        0000000000000000
        0000000000000000
        0000000000000000
        0000000000000000
        0011111111111100
        0122222222224310
        0124444444444310
        0124444444444310
        0124444444444310
        0124444444444310
        0124444444444310
        0133333333333310
        0011111111111100
        0000000000000000
        0000000000000000
        0000000000000000
        "
	}
}

widget = {
	tag = "textctrl"
	widget_class = "wxTextCtrl"
	display_name_expr = "name + \" (wxTextCtrl)\""

	inheritsBg   = "false"
	inheritsFg	 = "true"
	inheritsFont = "true"

	text_property = "value"

	props = {
		common_properties

		multiline 		= { BOOLEAN_FLAG { 1 0 } { wxTE_MULTILINE "" }
			      	  	  	"0" visibleOnly=true }

		processEnter 	= { BOOLEAN_FLAG { 1 0 } { wxTE_PROCESS_ENTER "" }
				 			"0" visibleOnly=true }

		processTab	 	= { BOOLEAN_FLAG { 1 0 } { wxTE_PROCESS_TAB "" }
				 			"0" displayName="multiline" visibleOnly=true }

		password	 	= { BOOLEAN_FLAG { 1 0 } { wxTE_PASSWORD "" }
				 			"0" visibleOnly=true }

		readOnly	 	= { BOOLEAN_FLAG { 1 0 } { wxTE_READONLY "" }
				 			"0" visibleOnly=true }

		horizScroll	 	= { BOOLEAN_FLAG { 1 0 } { wxHSCROLL "" }
				 			"0" visibleOnly=true }

		style = "border_style|multiline|processEnter|processTab|password|readOnly|horizScroll"

		value = { STRING "" initValue="text" }
	}

    group = "Common Widgets"
    
    toolbar_icon = {
        colors = "FF0000 000000"
        pixels = "
        0000000000000000
        0000000000000000
        0000000011000000
        0000000011000000
        0000000011000000
        0011110011111000
        0110011011001100
        0001111011001100
        0011011011001100
        0110011011001100
        0110011011001100
        0011111011111000
        0000000000000000
        0000000000000000
        0000000000000000
        0000000000000000
        "
	}
}

widget = {
	tag = "statictext"
	widget_class = "wxStaticText"
	display_name_expr = "name + \" (wxStaticText)\""

	inheritsBg   = "true"
	inheritsFg	 = "true"
	inheritsFont = "true"
	
	text_property = "label"
	align_property = "align"

	props = {
		common_properties

		align = { FLAG 
				  { wxALIGN_LEFT wxALIGN_CENTER wxALIGN_RIGHT } 
			   	  "wxALIGN_LEFT" visibleOnly=true
			    }

		style = "border_style|multiline|align"

		label = { STRING "" initValue="static" }
	}

    group = "Common Widgets"
    
    toolbar_icon = {
        colors = "FF0000 848484 000000"
        pixels = "
        0000000000000000
        0000000000000000
        0000000000000000
        0000000010000000
        0000000120000000
        0000001220000000
        0000002220000000
        0000020220002202
        0000200220022022
        0001222220120021
        0012000220210220
        0120000220212020
        2222002222220122
        0000000000000000
        0000000000000000
        0000000000000000
        "
	}
}

widget = {

	tag = "listctrl"
	widget_class = "wxListCtrl"
	display_name_expr = "name + \" (wxListCtrl)\""
	
	inheritsBg   = "false"
	inheritsFg	 = "false"
	inheritsFont = "true"
	
	props = {
		common_properties

		list_style = { FLAG 
				 		 { wxLC_LIST wxLC_REPORT wxLC_ICON wxLC_SMALL_ICON  } 
			   	 		   "zz" initValue ="wxLC_LIST" displayName="style" visibleOnly=true
			       	   }

		align = { FLAG 
				 		 { wxLC_ALIGN_LEFT wxLC_ALIGN_TOP   } 
			   	 		   "zz" initValue ="wxLC_ALIGN_LEFT" 
			   	 		   displayName="align" visibleOnly=true
			       	   }

		autoArrange			 =  { BOOLEAN_FLAG { 1 0 } { wxLC_AUTOARRANGE "" }
					              "0" visibleOnly=true }
					             
		userText		     =  { BOOLEAN_FLAG { 1 0 } { wxLC_USER_TEXT "" }
					              "0" visibleOnly=true }

		editLabels			 =  { BOOLEAN_FLAG { 1 0 } { wxLC_EDIT_LABELS "" }
					              "0" visibleOnly=true }

		noHeader			 =  { BOOLEAN_FLAG { 1 0 } { wxLC_NO_HEADER  "" }
					              "0" visibleOnly=true }
					             
		singleSel		     =  { BOOLEAN_FLAG { 1 0 } { wxLC_SINGLE_SEL "" }
					              "0" visibleOnly=true }

		sort = { FLAG 
				 		 { "" wxLC_SORT_ASCENDING wxLC_SORT_DESCENDING } 
			   	 		   "zz" initValue ="" displayName="sort" visibleOnly=true
			       	  }

		style = "border_style|list_style|align|autoArrange|userText|editLabels|noHeader|singleSel|sort"
	}

    group = "Common Widgets"

	toolbar_icon = {
        colors = "FF0000 000000 C0C0C0 808080 FFFFFF"
		pixels = "
		0000000000000000
		1111111111111111
		1444444444144441
		1444444444142131
		1411111444141131
		1444444444142231
		1444444444133331
		1411111114111111
		1444444444144441
		1444444444141131
		1411111144142131
		1444444444142231
		1444444444133331
		1111111111111111
		0000000000000000
        "
	}
}

widget = {
	tag = "tree"
	widget_class = "wxTreeCtrl"
	display_name_expr = "name + \" (wxTreCtrl)\""

	inheritsBg   = "false"
	inheritsFg	 = "false"
	inheritsFont = "true"

	props = {
		common_properties
		style = border_style
	}

	group = "Common Widgets"

	toolbar_icon = {
        colors = "FF0000 808080 000000 808000 FFFF00"
		pixels = "
		0111000000000000
		2132022222000000
		0222000000000000
		0020000000000000
		0020111000000000
		0022142022222000
		0020222000000000
		0020000000000000
		0020111000000000
		0022132022222000
		0020222000000000
		0020020000000000
		0020020111000000
		0020022142022222
		0020000222000000
		0020000000000000
        "
	}
}

widget = {
	tag = "htmlWindow"
	widget_class = "wxHtmlWindow"
	display_name_expr = "name + \" (wxHtmlWindow)\""
	can_have_children = false

	text_property = "htmlcode"

	inheritsBg   = "false"
	inheritsFg   = "false"
	inheritsFont = "false"

	props = {
	
		common_properties

		url = { STRING "" initValue="" }

		htmlcode = { STRING "" initValue="" }

		style = "border_style"
	}

	group = "Common Widgets"

	toolbar_icon = {
        colors = "FFFFFF 808080 00FF00 008000 000080 C0C0C0 0000FF 008080 000000 00FFFF FF0000 800000"
		pixels = "
		::::1102223:::::
		:::022233444:::
		::053336377448::
		:55333677774448:
		109336777724433:
		199937772444553:
		0939777719135338
		9503777599973338
		5222761909998338
		0222231999998338
		302222379997333:
		:22222848785138:
		:32223844445:;0:
		::3334444438::;:
		:::8444444480::8
		::::::8888::::8:
        "
	}
}

widget = { 
	tag = "checkbox"
	widget_class = "wxCheckBox"
	display_name_expr = "name + \" (wxCheckBox)\""
	
	inheritsBg   = "true"
	inheritsFg	 = "true"
	inheritsFont = "true"

	props = {
		common_properties
		style = border_style
		label = { STRING "" initValue="check" }

		checked = { BOOLEAN 0 }
	}

    group = "Common Widgets"
    
    toolbar_icon = {
        colors = "FF0000 848284 000000 FFFFFF 808080"
        pixels = "
        0000000000000000
        0011111111111000
        0122222222224300
        0123333333334300
        0123223332234300
        0123222322234300
        0123322222334300
        0123332223334300
        0123322222334300
        0123222322234300
        0123223332234300
        0123333333334300
        0124444444444300
        0033333333333000
        0000000000000000
        "
    }
  
}

widget = { 
	tag = "choice"
	widget_class = "wxChoice"
	display_name_expr = "name + \" (wxChoice)\""
	
	inheritsBg   = "false"
	inheritsFg	 = "true"
	inheritsFont = "true"

	props = {
	
		common_properties
		
		sorted    =  { BOOLEAN_FLAG { 1 0 } { wxCB_SORT "" }
				       "0" visibleOnly=true }
				       
		selection = { NUMBER "-1" displayName="selectedIndex" }
				       
		item = { STRING_LIST "" displayName="values" }
		
		style = "border_style|sorted"
	}

    group = "Common Widgets"

    toolbar_icon = {
        colors = "FF0000 000000 C6C3C6"
        pixels = "
        000000000000000
        011111111111110
        012222222211210
        012222222211110
        011111111111110
        001222222212210
        001222222212210
        001211122212110
        001222222212210
        001211111211110
        001222222212210
        001211112212110
        001222222212210
        001222222212210
		001111111111110
        "
	}
}

widget = {
	tag = "combobox"
	widget_class = "wxComboBox"
	display_name_expr = "name + \" (wxComboBox)\""

	inheritsBg   = "true"
	inheritsFg	 = "true"
	inheritsFont = "true"

	props = {
		common_properties
		style = border_style

		item = { STRING_LIST "" initValue="values" }
		selection = { NUMBER "-1" displayName="selectedIndex" }
		label = { STRING "" initValue="Combo" }
	}

	group = "Common Widgets"

	toolbar_icon = {
        colors = "FF0000 000000 FFFFFF C0C0C0 808080"
		pixels = "
		1111111111111111
		1222222222113311
		1222222222111311
		1222222222111111
		1111111111111111
		0122222222122221
		0122222222123341
		0121111122121141
		0122222222144441
		0121111112111111
		0122222222122221
		0122222222121141
		0121111122123341
		0122222222123341
		0122222222144441
		0111111111111111
        "
	}
}

widget = {

	tag = "radiobutton"
	widget_class = "wxRadioButton"
	display_name_expr = "name + \" (wxRadioButton)\""

	inheritsBg   = "true"
	inheritsFg	 = "true"
	inheritsFont = "true"

	text_property = "label"

	props = {
		common_properties

		value = { BOOLEAN 0 }
		radiobutton_style = { FLAG { 1 0 } { wxRB_GROUP "" }
							  "0" displayName="group" visibleOnly=true }

		style = "border_style|radiobutton_style"
		
		label = { STRING "" initValue="Radio" }
	}

    group = "Common Widgets"
    
    toolbar_icon = {
        colors = "FF0000 848284 000000 FFFFFF 808080"
        pixels = "
        00000000000000000
        00000411114000000
        00041222222140000
        00012133333113000
        00421331113314000
        00123322222331300
        00123122222131300
        00123122222131300
        00123122222131300
        00423322222331300
        00011331113313000
        00041133333103000
        00003411111330000
        00000033333000000
        00000000000000000
        00000000000000000
        "
	}
}

widget = {
	tag = "unknown"
	widget_class = "unknown"
	display_name_expr = "name + \" (unknown)\""
	
	inheritsBg   = "true"
	inheritsFg	 = "true"
	inheritsFont = "true"

	props = {
		common_properties
	}

    group = "Common Widgets"

	toolbar_icon = {
        colors = "FF0000 000000 C0C0C0 808080"
		pixels = "
		0000000000000000
		0000000000000000
		0000010211000000
		0000110021100000
		0000110001100000
		0000330031100000
		0000000031200000
		0000000230000000
		0000000300000000
		0000000100000000
		0000000000000000
		0000003130000000
		0000001110000000
		0000003130000000
		0000000000000000
		0000000000000000
        "
	}  
}

//////////////////////////////////////////////
///////////// Widgets from WSPP //////////////
//////////////////////////////////////////////

widget = {
	tag = "pagectrl"
	widget_class = "wxPagingCtrl"
	display_name_expr = "name + \" (wxPagingCtrl)\""

	inheritsBg   = "false"
	inheritsFg	 = "true"
	inheritsFont = "true"

	props = {
		common_properties

		style = "border_style"
	}

    group = "Common Widgets"
    
    toolbar_icon = {
        colors = "FFFFFF 000000 C0C0C0 808080"
		pixels = "
		2222222222222222
		2333333333333333
		2300000000000000
		2300000000000000
		2300000000000000
		2300000000000000
		2300000000000000
		2300000000000000
		2300000000000000
		1300000001111111
		1300101001222222
		2100110001221112
		2100000012122222
		2211111112211111
		2222222222222222
		2222222222222222
        "
	}
}

widget = {
	tag = "datectrl"
	widget_class = "wxDateCtrl"
	display_name_expr = "name + \" (wxDateCtrl)\""
	
	inheritsBg   = "false"
	inheritsFg	 = "false"
	inheritsFont = "true"

	text_property = "format"

	props = {
		common_properties

		style = "border_style"

		format = { STRING "" initValue="%d-%m-%Y %H:%M" }
	}

    group = "Common Widgets"

	toolbar_icon = {
        colors = "FF0000 000000 DDDDDD C0C0C0 808080 800000"
		pixels = "
		0010001000100000
		0010001000100000
		2034403440344000
		2414241424142340
		2222235522222340
		2222555522222340
		2222225522222340
		2222225522222340
		2222225522223340
		2222225522333340
		2222225523333340
		1112555553333340
		3212555553333340
		3312333333333340
		4444444444444340
		4444444444444440
        "
	}
}

widget = {

	tag = "listbox"
	widget_class = "wxListBox"
	display_name_expr = "name + \" (wxListBox)\""
	
	inheritsBg   = "false"
	inheritsFg	 = "false"
	inheritsFont = "true"
	
	props = {
		common_properties

		singleSelection     =  { BOOLEAN_FLAG { 1 0 } { wxLB_SINGLE "" }
					             "1" visibleOnly=true }

		multipleSelection   =  { BOOLEAN_FLAG { 1 0 } { wxLB_MULTIPLE "" }
					             "0" visibleOnly=true }

		extendedSelection   =  { BOOLEAN_FLAG { 1 0 } { wxLB_EXTENDED "" }
					             "0" visibleOnly=true }

		horizScrollAsNeeded =  { BOOLEAN_FLAG { 1 0 } { wxLB_HSCROLL "" }
					             "0" visibleOnly=true }

		alwaysVertScroll    =  { BOOLEAN_FLAG { 1 0 } { wxLB_ALWAYS_SB "" }
					             "0" visibleOnly=true }

		vertScrollAsNeeded  =  { BOOLEAN_FLAG { 1 0 } { wxLB_NEEDED_SB "" }
					             "0" visibleOnly=true }

		sorted              =  { BOOLEAN_FLAG { 1 0 } { wxLB_SORT "" }
					             "0" visibleOnly=true }

		style = "border_style|singleSelection|multipleSelection|extendedSelection|horizScrollAsNeeded|alwaysVertScroll|vertScrollAsNeeded|sorted"
	}

    group = "Common Widgets"

	toolbar_icon = {
        colors = "FF0000 000000 C0C0C0 808080 FFFFFF"
		pixels = "
		0000000000000000
		1111111111111111
		1444444444144441
		1444444444142131
		1411111444141131
		1444444444142231
		1444444444133331
		1411111114111111
		1444444444144441
		1444444444141131
		1411111144142131
		1444444444142231
		1444444444133331
		1111111111111111
		0000000000000000
        "
	}
}

widget = {
	tag = "glistctrl"
	widget_class = "wxGenericListCtrl"
	display_name_expr = "name + \" (wxGenericListCtrl)\""
	
	inheritsBg   = "false"
	inheritsFg	 = "false"
	inheritsFont = "true"

	props = {
		common_properties

		style = "border_style"
	}

    group = "Common Widgets"

	toolbar_icon = {
        colors = "FF0000 000000 C0C0C0 808080 FFFFFF"
		pixels = "
		0000000000000000
		1111111111111111
		1444444444144441
		1444444444142131
		1411111444141131
		1444444444142231
		1444444444133331
		1411111114111111
		1444444444144441
		1444444444141131
		1411111144142131
		1444444444142231
		1444444444133331
		1111111111111111
		0000000000000000
        "
	}
}

widget = {
	tag = "dblistctrl"
	widget_class = "wxDbListCtrl"
	display_name_expr = "name + \" (wxDbListCtrl)\""
	
	inheritsBg   = "false"
	inheritsFg	 = "false"
	inheritsFont = "true"

	props = {
		common_properties

		style = "border_style"

		dsn = { STRING "" }
		user = { STRING "" }
		password = { STRING "" }
		query = { STRING "" }
		sort = { STRING "" }
	}

    group = "Common Widgets"

	toolbar_icon = {
        colors = "FF0000 000000 00FFFF C0C0C0 808080 FFFF00 808000 FFFFFF"
		pixels = "
		0000000000000000
		0111111111111111
		0127272727213331
		0171111112713131
		0127272727213331
		0171111111711111
		0127272727217371
		0111111172713431
		0153511727217371
		1535351112711111
		1153511727213331
		1711161112713131
		1535361727213331
		1753531111111111
		0135310000000000
		0011100000000000
        "
	} 
}

///// higher-level widgets (allowed to have children) /////

widget = {
	tag = "dialog"
	widget_class = "wxDialog"
	display_name_expr = "name + \" (wxDialog)\""
	can_have_children = true
	
	text_property = "title"

	props = {
		common_properties

		top_level_wnd_props

		style = "border_style|hasCaption|hasSystemMenu|hasResizableBorder|hasThickFrame|isModal|hasMinimizeBox|hasMaximizeBox|stayOnTop|tabTraversal"
		
		title = { STRING "" initValue="dialog-title" }
	}

	toolbar_icon = {
		colors = "FF0000 000084 000000 FFFFFF"
		pixels = "
		0000000000000000
		0111111111111100
		0111111111111100
		0233333333333200
		0232222333223200
		0232332333333200
		0232222333223200
		0233333333333200
		0232222222333200
		0233333333333200
		0232222222333200
		0233333333333200
		0222222222222200
		0000000000000000
		0000000000000000
		0000000000000000
		"
	}
}

widget = {
	tag = "menubar"
	widget_class = "wxMenuBar"
	display_name_expr = "name + \" (wxMenuBar)\""
	can_have_children = true

	props = {
		common_properties
	}

	toolbar_icon = {
		colors = "FF0000 000000 0000FF FFFFFF C6C6C6"
		pixels = "
		0000000000000000
		0001111111100000
		0001233222100000
		0001111111111000
		0001444444441000
		0001222222221000
		0001233222221000
		0001444444441000
		0001411111441000
		0001444444441000
		0001411114441000
		0001444444441000
		0001411111141000
		0001444444441000
		0001444444441000
		0001111111111000
		"
	}
}

widget = {
	tag = "panel"
	widget_class = "wxPanel"
	display_name_expr = "name + \" (wxPanel)\""
	can_have_children = true

	inheritsBg   = "false"
	inheritsFg	 = "false"
	inheritsFont = "false"

	props = {
	
		common_properties

		tabTraversal       = { BOOLEAN_FLAG { 1 0 } { wxTAB_TRAVERSAL "" }
					          "0" initValue="1" displayName="tabTraversal" visibleOnly=true }

		style = "border_style|tabTraversal"
	}

    
	toolbar_icon = {
		colors = "C6C3C6 FFFFFF 000000 DEDFDE 848284 FF0000"
		pixels = "
		5555555555555555
		5111111111111112
		5133333333333342
		5130000000000042
		5130000000000042
		5130000000000042
		5130000000000042
		5130000000000042
		5130000000000042
		5130000000000042
		5130000000000042
		5130000000000042
		5144444444444442
		5222222222222222
		5555555555555555
		5555555555555555
		"
	}
}

widget = {
	tag = "frame"
	widget_class = "wxFrame"
	display_name_expr = "name + \" (wxFrame)\""
	can_have_children = true
	
	text_property = "title"

	props = {
		common_properties
		
		top_level_wnd_props

		style = "border_style|hasCaption|hasSystemMenu|hasResizableBorder|hasThickFrame|isModal|hasMinimizeBox|hasMaximizeBox|stayOnTop|tabTraversal"
		
		title = { STRING "" initValue="Frame-title" }
	}

	toolbar_icon = {
		colors = "390000 7B0000 7B7D7B 393C39 800000 FFFFFF 000039 00007B 0000FF 7B7D00 002C00 005D00 FFFF00 00BE00"
		pixels = "
		0110222222222223
		1441555555555552
		1441555555555552
		1441555555555552
		3223222222222676
		2552555555555787
		2552555555555787
		2552555555555323
		2552555555555252
		2552555555555252
		2552555555555252
		2552555555555252
		2552999999:;;252
		2552<<<<<<;==252
		2552<<<<<<;==252
		3223999999:;;323
		"
	}
}

widget = {
	tag = "notebook"
	widget_class = "wxNotebook"
	display_name_expr = "name + \" (wxNotebook)\""
	can_have_children = true

	inheritsBg   = "false"
	inheritsFg	 = "false"
	inheritsFont = "false"

	node_class = "NotebookNode"
	previewer_class = "NotebookGlyph"

	props = {
		common_properties

		style = "border_style"
	}

	extra_props_tag_name = "notebookpage"
	extra_props_name = "Tab"
	
	extra_props = 
	{
		label = { STRING "" initValue="TabPage" }
		image = { STRING "" }
	}

	toolbar_icon = {
		colors = "FF0000 000000 C0C0C0"
		pixels = "
		0000000000000000
		0111101110111000
		1222212221222100
		1222212221222100
		1222211111111111
		1222222222222221
		1222222222222221
		1222222222222221
		1222222222222221
		1222222222222221
		1222222222222221
		1222222222222221
		1222222222222221
		1111111111111111
		0000000000000000
		0000000000000000
		"
	}
}

widget = {
	tag = "cardctrl"
	widget_class = "wxCardCtrl"
	display_name_expr = "name + \" (wxCardCtrl)\""
	can_have_children = true

	inheritsBg   = "true"
	inheritsFg	 = "true"
	inheritsFont = "true"

	node_class = "CardCtrlNode"
	previewer_class = "CardCtrlGlyph"

	props = {
		common_properties

		shown = { STRING "" }
	}

	toolbar_icon = {
		colors = "FF0000 000000 C0C0C0"
		pixels = "
		0000000000000000
		0111101110111000
		1222212221222100
		1222212221222100
		1222211111111111
		1222222222222221
		1222222222222221
		1222222222222221
		1222222222222221
		1222222222222221
		1222222222222221
		1222222222222221
		1222222222222221
		1111111111111111
		0000000000000000
		0000000000000000
		"
	}
}

widget = {
	tag = "staticbox"
	widget_class = "wxStaticBox"
	display_name_expr = "name + \" (wxStaticBox)\""
	can_have_children = false

	inheritsBg   = "true"
	inheritsFg	 = "true"
	inheritsFont = "true"
	
	text_property = "label"

	props = {
		common_properties
		
		label = { STRING "" initValue="static-box" }

		style = "border_style"
	}

    group = "Common Widgets"
    
    toolbar_icon = {
        colors = "FF0000 000000"
        pixels = "
        0000000000000000
        0001010101011100
        0000100101001000
        1100100010010011
        1001010010011101
        1000000000000001
        1000000000000001
        1000000000000001
        1000000000000001
        1000000000000001
        1000000000000001
        1000000000000001
        1000000000000001
        1000000000000001
        1000000000000001
        1111111111111111
        "
	}
}

////////////// sizers (described as widgets) //////////////

widget = {
	tag = "boxsizer"
	widget_class = "wxBoxSizer"

	node_class = "BoxSizerNode"
	previewer_class = "BoxSizerGlyph"

	display_name_expr = "name + \" (wxBoxSizer)\""
	can_have_children = true
	
	inheritsBg   = "true"
	inheritsFg	 = "true"
	inheritsFont = "true"
	
	props = {
		name = { STRING "" displayName="Name" }
		
		pos

		size
		
		cols = { NUMBER "-1" initValue="-1"  }
		rows = { NUMBER "-1" initValue="1" }
		hgap = { NUMBER "0"  initValue="5"  }
		vgap = { NUMBER "0"  initValue="5"  }

		subclass = { STRING "" }

		orient  = { FLAG { wxVERTICAL wxHORIZONTAL } wxHORIZONTAL }
	}

	// properties which will be assigned to each widget 
	// which becomes a child of this pseudo-widget

	extra_props_tag_name = "sizeritem"
	extra_props_name = "Layout"
	
	extra_props = 
	{
		align = { FLAG { wxALIGN_CENTER wxALIGN_LEFT wxALIGN_RIGHT wxALIGN_BOTTOM wxALIGN_TOP }
		          wxALIGN_CENTER displayName="align" visibleOnly=true }

		isStrechable  = { BOOLEAN_FLAG { 1 0 } { 1 "" }
					     "0" displayName="isStrechable" visibleOnly=true }

		isExpandable  = { BOOLEAN_FLAG { 1 0 } { wxEXPAND "" }
					     "0" displayName="isExpandable" visibleOnly=true }

		border		  = { NUMBER "0" initValue="10" }
					     
		hasFullBorder = { BOOLEAN_FLAG { 1 0 } { wxALL "" }
					     "0" "hasFullBorder" initValue="wxALL" visibleOnly=true }

		hasLeftBorder = { BOOLEAN_FLAG { 1 0 } { wxLEFT "" }
					     "0" displayName="hasLeftBorder" visibleOnly=true }

		hasRightBorder = { BOOLEAN_FLAG { 1 0 } { wxRIGHT "" }
					     "0" displayName="hasRightBorder" visibleOnly=true }

		hasTopBorder = { BOOLEAN_FLAG { 1 0 } { wxTOP "" }
					     "0" displayName="hasTopBorder" visibleOnly=true }

		hasBottomBorder = { BOOLEAN_FLAG { 1 0 } { wxBOTTOM "" }
					     "0" displayName="hasBottomBorder" visibleOnly=true }

		// invisible (combined) properties
		

		flag = "align|isExpandable|hasLeftBorder|hasRightBorder|hasTopBorder|hasBottomBorder|hasFullBorder"
		
		option = "isStrechable"
	}
	

    group = "Common Widgets"
    
    toolbar_icon = {
        colors = "FF0000 3F3F3F FF0000 0000FF FF0000"
        pixels = "
        44444444444444444
        40000000200000004
        40000100220100004
        40000102220100004
        40111110201111104
        40000100200100004
        40030100200103004
        40330100200103304
        43333133333133334
        40330100200103304
        40030100200103004
        40000100200100004
        40111110201111104
        40000102220100004
        40000100220100004
        40000000200000004
        44444444444444444
        "
	}

}

widget = {
	tag = "gridsizer"
	widget_class = "wxGridSizer"

	node_class = "GridSizerNode"
	previewer_class = "BoxSizerGlyph"

	display_name_expr = "name + \" (wxBoxSizer)\""
	can_have_children = true

	inheritsBg   = "true"
	inheritsFg	 = "true"
	inheritsFont = "true"

	props = {
		name = { STRING "" displayName="Name" }
		
		pos

		size
		
		subclass = { STRING "" }

		cols = { NUMBER "-1" }
		rows = { NUMBER "-1" }
		hgap = { NUMBER "-1" initValue = "5" }
		vgap = { NUMBER "-1" initValue = "5" }
	}

	// properties which will be assigned to each widget 
	// which becomes a child of this pseudo-widget

	extra_props_tag_name = "sizeritem"
	extra_props_name = "Layout"
	
	extra_props = 
	{
		align = { FLAG { wxALIGN_CENTER wxALIGN_LEFT wxALIGN_RIGHT wxALIGN_BOTTOM wxALIGN_TOP }
		          wxALIGN_CENTER "align" visibleOnly=true }

		isStrechable  = { BOOLEAN_FLAG { 1 0 } { 1 "" }
					     "0" displayName="isStrechable" visibleOnly=true }

		isExpandable  = { BOOLEAN_FLAG { 1 0 } { wxEXPAND "" }
					     "0" displayName="isExpandable" visibleOnly=true }

		border		  = { NUMBER "0" initValue="10" }
					     
		hasFullBorder = { BOOLEAN_FLAG { 1 0 } { wxALL "" }
					     "0" "hasFullBorder" initValue="wxALL" visibleOnly=true }

		hasLeftBorder = { BOOLEAN_FLAG { 1 0 } { wxLEFT "" }
					     "0" displayName="hasLeftBorder" visibleOnly=true }

		hasRightBorder = { BOOLEAN_FLAG { 1 0 } { wxRIGHT "" }
					     "0" displayName="hasRightBorder" visibleOnly=true }

		hasTopBorder = { BOOLEAN_FLAG { 1 0 } { wxTOP "" }
					     "0" displayName="hasTopBorder" visibleOnly=true }

		hasBottomBorder = { BOOLEAN_FLAG { 1 0 } { wxBOTTOM "" }
					     "0" displayName="hasBottomBorder" visibleOnly=true }

		// invisible (combined) properties
		
		flag = "align|isExpandable|hasLeftBorder|hasRightBorder|hasTopBorder|hasBottomBorder|hasFullBorder"
	}
	
    group = "Common Widgets"
    
    toolbar_icon = {
        colors = "D5D5D5 3F3F3F FF0000 0000FF"
        pixels = "
        11111111111111111
        10000000200000001
        10000100220100001
        10000102220100001
        10111110201111101
        10000100200100001
        10030100200103001
        10330100200103301
        13333133333133331
        10330100200103301
        10030100200103001
        10000100200100001
        10111110201111101
        10000102220100001
        10000100220100001
        10000000200000001
        11111111111111111
        "
	}
}

////////////// spacers (described as widgets) //////////////

widget = {
	tag = "spacer"
	widget_class = "wxSpacer"

	node_class = "SpacerNode"
	previewer_class = "SpacerGlyph"

	display_name_expr = "name + \" (wxSpacer)\""
	can_have_children = false

	inheritsBg   = "true"
	inheritsFg	 = "true"
	inheritsFont = "true"

	props = {
		name = { STRING "" displayName="Name" }
		
		pos

		size

		subclass = { STRING "" }

		horiz_space = { NUMBER "20" }
		vert_space  = { NUMBER "20" }
	}

    group = "Common Widgets"

	toolbar_icon = {
        colors = "FF0000 000000"
        pixels = "
        0000000000000000
        0000000000000000
        1000100000000000
        1011000000000000
        1111111111111100
        1011000000000000
        1000100000000000
        0000000000010001
        0000000000001101
        0111111111111111
        0000000000001101
        0000000000010001
        0000000000000000
        0000000000000000
        0000000000000000
        0000000000000000
        "
	}
}

////////////////////// aliases ("derivation") ///////////////////
    
alias = {
	widget_class = "wxMatrixDialog"
	referenced_class = "wxDialog"
	
	// appended properties
	
	props = {
		autosize = { BOOLEAN 1 displayName="autoSize" }
	}	
}

alias = {
	widget_class = "wxMatrixPanel"
	referenced_class = "wxPanel"

	inheritsBg   = "false"
	inheritsFg	 = "false"
	inheritsFont = "false"

	// appended properties
	
	props = {
		autosize = { BOOLEAN 1 displayName="autoSize" }
	}	
}

alias = {
	widget_class = "wxMatrixFrame"
	referenced_class = "wxFrame"

	// appended properties
	
	props = {
		autosize = { BOOLEAN 1 displayName="autoSize" }
	}	
}
