rem: WMRegisterViewForDraggedTypes(cPtr->view, types);
add: WMRegisterViewForDraggedTypes(cPtr->colorView, types);
context: WMCreateColorWell(WMWidget *parent){    ColorWell *cPtr;    cPtr = wmalloc(sizeof(ColorWell));    memset(cPtr, 0, sizeof(ColorWell));    cPtr->widgetClass = WC_ColorWell;        cPtr->view = W_CreateView(W_VIEW(parent));    if (!cPtr->view) {	wfree(cPtr);	return NULL;    }    cPtr->view->self = cPtr;    cPtr->view->delegate = &_ColorWellViewDelegate;        cPtr->colorView = W_CreateView(cPtr->view);    if (!cPtr->colorView) {	W_DestroyView(cPtr->view);	wfree(cPtr);	return NULL;    }    cPtr->colorView->self = cPtr;	    WMCreateEventHandler(cPtr->view, ExposureMask|StructureNotifyMask			 |ClientMessageMask, handleEvents, cPtr);        WMCreateEventHandler(cPtr->colorView, ExposureMask, handleEvents, cPtr);    WMCreateEventHandler(cPtr->colorView, ButtonPressMask|ButtonMotionMask			 |EnterWindowMask, handleDragEvents, cPtr);    WMCreateEventHandler(cPtr->view, ButtonPressMask, handleActionEvents, 			 cPtr);    cPtr->colorView->flags.mapWhenRealized = 1;    cPtr->flags.bordered = 1;    W_ResizeView(cPtr->view, DEFAULT_WIDTH, DEFAULT_HEIGHT);    WMAddNotificationObserver(activatedObserver, cPtr, 			      _ColorWellActivatedNotification, NULL);    cPtr->color = WMBlackColor(WMWidgetScreen(cPtr));    WMAddNotificationObserver(colorChangedObserver, cPtr,			      WMColorPanelColorChangedNotification, NULL);        WMSetViewDragSourceProcs(cPtr->view, &_DragSourceProcs);    WMSetViewDragDestinationProcs(cPtr->view, &_DragDestinationProcs);    {	char *types[2] = {"application/X-color", NULL};		WMRegisterViewForDraggedTypes(cPtr->view, types);    }        return cPtr;}