Ignore:
Timestamp:
Jun 3, 2002, 9:25:41 AM (23 years ago)
Author:
sandervl
Message:

Drag and drop fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/pmwindow.cpp

    r8553 r8555  
    1 /* $Id: pmwindow.cpp,v 1.176 2002-06-02 19:34:28 sandervl Exp $ */
     1/* $Id: pmwindow.cpp,v 1.177 2002-06-03 07:25:13 sandervl Exp $ */
    22/*
    33 * Win32 Window Managment Code for OS/2
     
    862862            POINT point = {sxDrop, syDrop};
    863863            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            }
    867870            free(pszFiles);
    868871        }
Note: See TracChangeset for help on using the changeset viewer.