/*!
	@file
	@author		Generate utility by Albert Semenov
	@date		01/2009
	@module
*/

using System;
using System.Runtime.InteropServices;

namespace MyGUI.Sharp
{
    public #{Partial} class #{ThisName} :
		#{BaseName}
    {
        #region #{ThisName}

        protected override string GetWidgetType() { return "#{ThisType}"; }

        internal static BaseWidget RequestWrap#{ThisName}(BaseWidget _parent, IntPtr _widget)
        {
			#{ThisName} widget = new #{ThisName}();
			widget.WrapWidget(_parent, _widget);
            return widget;
        }

        internal static BaseWidget RequestCreate#{ThisName}(BaseWidget _parent, WidgetStyle _style, string _skin, IntCoord _coord, Align _align, string _layer, string _name)
        {
			#{ThisName} widget = new #{ThisName}();
			widget.CreateWidgetImpl(_parent, _style, _skin, _coord, _align, _layer, _name);
            return widget;
        }
        
		#endregion
	
		
		//InsertPoint
		
    }
}
