return temp;
});
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
private DaliEventHandler<object, StartedEventArgs> _scrollableStartedEventHandler;
private StartedCallbackDelegate _scrollableStartedCallbackDelegate;
private DaliEventHandler<object, UpdatedEventArgs> _scrollableUpdatedEventHandler;
internal Scrollable(global::System.IntPtr cPtr, bool cMemoryOwn) : base(Interop.Scrollable.Scrollable_SWIGUpcast(cPtr), cMemoryOwn)
{
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
}
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
DisConnectFromSignals();
}
- if (swigCPtr.Handle != global::System.IntPtr.Zero)
- {
- if (swigCMemOwn)
- {
- swigCMemOwn = false;
- Interop.Scrollable.delete_Scrollable(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
-
base.Dispose(type);
}
+ /// This will not be public opened.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
+ {
+ Interop.Scrollable.delete_Scrollable(swigCPtr);
+ }
+
private void DisConnectFromSignals()
{
// Save current CPtr.