Пример #1
0
        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);
        }
Пример #2
0
        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);
        }
Пример #3
0
 [DllImport("wx-c"), System.Security.SuppressUnmanagedCodeSecurity] static extern void wxDropSource_RegisterVirtual(IntPtr self, Virtual_DoDragDrop doDragDrop);