Removing NEW_DRAG_AND_DROP ifdef, this is on by default now.

This commit is contained in:
mcafee%netscape.com 1999-06-16 04:52:05 +00:00
Родитель dc04007ab8
Коммит 71f3ec8513
2 изменённых файлов: 4 добавлений и 16 удалений

Просмотреть файл

@ -1139,7 +1139,6 @@ nsTextEditorDragListener::HandleEvent(nsIDOMEvent* aEvent)
nsresult
nsTextEditorDragListener::DragEnter(nsIDOMEvent* aDragEvent)
{
#ifdef NEW_DRAG_AND_DROP
nsIDragService* dragService;
nsresult rv = nsServiceManager::GetService(kCDragServiceCID,
nsIDragService::GetIID(),
@ -1155,7 +1154,7 @@ nsTextEditorDragListener::DragEnter(nsIDOMEvent* aDragEvent)
nsServiceManager::ReleaseService(kCDragServiceCID, dragService);
}
#endif
return NS_OK;
}
@ -1163,7 +1162,6 @@ nsTextEditorDragListener::DragEnter(nsIDOMEvent* aDragEvent)
nsresult
nsTextEditorDragListener::DragOver(nsIDOMEvent* aDragEvent)
{
#ifdef NEW_DRAG_AND_DROP
nsIDragService* dragService;
nsresult rv = nsServiceManager::GetService(kCDragServiceCID,
nsIDragService::GetIID(),
@ -1177,7 +1175,7 @@ nsTextEditorDragListener::DragOver(nsIDOMEvent* aDragEvent)
nsServiceManager::ReleaseService(kCDragServiceCID, dragService);
}
#endif
return NS_OK;
}
@ -1193,8 +1191,6 @@ nsTextEditorDragListener::DragExit(nsIDOMEvent* aDragEvent)
nsresult
nsTextEditorDragListener::DragDrop(nsIDOMEvent* aMouseEvent)
{
#ifdef NEW_DRAG_AND_DROP
// String for doing paste
nsString stuffToPaste;
@ -1255,8 +1251,6 @@ nsTextEditorDragListener::DragDrop(nsIDOMEvent* aMouseEvent)
nsServiceManager::ReleaseService(kCDragServiceCID, dragService);
} // if valid drag service
#endif
return NS_OK;
}

Просмотреть файл

@ -1139,7 +1139,6 @@ nsTextEditorDragListener::HandleEvent(nsIDOMEvent* aEvent)
nsresult
nsTextEditorDragListener::DragEnter(nsIDOMEvent* aDragEvent)
{
#ifdef NEW_DRAG_AND_DROP
nsIDragService* dragService;
nsresult rv = nsServiceManager::GetService(kCDragServiceCID,
nsIDragService::GetIID(),
@ -1155,7 +1154,7 @@ nsTextEditorDragListener::DragEnter(nsIDOMEvent* aDragEvent)
nsServiceManager::ReleaseService(kCDragServiceCID, dragService);
}
#endif
return NS_OK;
}
@ -1163,7 +1162,6 @@ nsTextEditorDragListener::DragEnter(nsIDOMEvent* aDragEvent)
nsresult
nsTextEditorDragListener::DragOver(nsIDOMEvent* aDragEvent)
{
#ifdef NEW_DRAG_AND_DROP
nsIDragService* dragService;
nsresult rv = nsServiceManager::GetService(kCDragServiceCID,
nsIDragService::GetIID(),
@ -1177,7 +1175,7 @@ nsTextEditorDragListener::DragOver(nsIDOMEvent* aDragEvent)
nsServiceManager::ReleaseService(kCDragServiceCID, dragService);
}
#endif
return NS_OK;
}
@ -1193,8 +1191,6 @@ nsTextEditorDragListener::DragExit(nsIDOMEvent* aDragEvent)
nsresult
nsTextEditorDragListener::DragDrop(nsIDOMEvent* aMouseEvent)
{
#ifdef NEW_DRAG_AND_DROP
// String for doing paste
nsString stuffToPaste;
@ -1255,8 +1251,6 @@ nsTextEditorDragListener::DragDrop(nsIDOMEvent* aMouseEvent)
nsServiceManager::ReleaseService(kCDragServiceCID, dragService);
} // if valid drag service
#endif
return NS_OK;
}