- Timestamp:
- Jun 3, 2002, 9:25:41 AM (23 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ole32/ole2.c
r8553 r8555 402 402 if (dropTargetInfo==NULL) 403 403 return DRAGDROP_E_NOTREGISTERED; 404 405 #ifdef __WIN32OS2__ 406 //just in case dragleave wasn't called... 407 if(dropTargetInfo->hDrop) { 408 GlobalFree(dropTargetInfo->hDrop); 409 } 410 if(dropTargetInfo->pDataObject) { 411 IDataObject_Release(dropTargetInfo->pDataObject); 412 } 413 #endif 404 414 405 415 /* -
trunk/src/user32/pmwindow.cpp
r8553 r8555 1 /* $Id: pmwindow.cpp,v 1.17 6 2002-06-02 19:34:28sandervl Exp $ */1 /* $Id: pmwindow.cpp,v 1.177 2002-06-03 07:25:13 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 862 862 POINT point = {sxDrop, syDrop}; 863 863 if(DragDropFiles(win32wnd->getWindowHandle(), point, cItems, pszFiles, ulBytes) == FALSE) { 864 rc = (MRFROM2SHORT (DOR_NEVERDROP, 0)); 865 } 866 else rc = (MRFROM2SHORT(DOR_DROP, DO_MOVE)); 864 rc = (MRFROM2SHORT (DOR_NEVERDROP, 0)); 865 } 866 else { 867 rc = (MRFROM2SHORT(DOR_DROP, DO_MOVE)); 868 win32wnd->setDragDropActive(FALSE); 869 } 867 870 free(pszFiles); 868 871 }
Note:
See TracChangeset
for help on using the changeset viewer.