template <> struct Convert< MyGUI::#{ThisType}*> { typedef MyGUI::Widget* Type; inline static Type To(MyGUI::#{ThisType}* _value) { return _value; } inline static MyGUI::#{ThisType}* From(Type _value) { return static_cast(_value); } };