- if (gdk_dnd.dnd_grabbed) return (wxDropSource::DragResult) None;
- if (gdk_dnd.drag_really) return (wxDropSource::DragResult) None;
+ if (gdk_dnd.dnd_grabbed) return (wxDragResult) wxDragNone;
+ if (gdk_dnd.drag_really) return (wxDragResult) wxDragNone;