public DropSource(Window win) : this(wxDropSource_Win_ctor(Object.SafePtr(win)), true) { m_dataObject = null; virtual_DoDragDrop = new Virtual_DoDragDrop(DoDoDragDrop); wxDropSource_RegisterVirtual(wxObject, virtual_DoDragDrop); }
public DropSource(DataObject dataObject, Window win) : this(wxDropSource_DataObject_ctor(Object.SafePtr(dataObject), Object.SafePtr(win)), true) { m_dataObject = dataObject; virtual_DoDragDrop = new Virtual_DoDragDrop(DoDoDragDrop); wxDropSource_RegisterVirtual(wxObject, virtual_DoDragDrop); }
[DllImport("wx-c"), System.Security.SuppressUnmanagedCodeSecurity] static extern void wxDropSource_RegisterVirtual(IntPtr self, Virtual_DoDragDrop doDragDrop);