[Obsolete("Please do not use! this will be deprecated")]
public new static ScrollBar DownCast(BaseHandle handle)
{
- ScrollBar ret = new ScrollBar(NDalicPINVOKE.ScrollBar_DownCast(BaseHandle.getCPtr(handle)), true);
+ ScrollBar ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as ScrollBar;
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}