Ignore:
Timestamp:
Jun 2, 2002, 12:08:10 PM (23 years ago)
Author:
sandervl
Message:

moved drag 'n drop code to seperate file; minor updates

File:
1 edited

Legend:

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

    r8541 r8542  
    1 /* $Id: pmwindow.cpp,v 1.174 2002-06-01 17:26:30 sandervl Exp $ */
     1/* $Id: pmwindow.cpp,v 1.175 2002-06-02 10:07:57 sandervl Exp $ */
    22/*
    33 * Win32 Window Managment Code for OS/2
     
    5151#include <winscan.h>
    5252#include <win\dbt.h>
     53#include "dragdrop.h"
    5354
    5455#define DBG_LOCALLOG    DBG_pmwindow
     
    796797
    797798        //does this window accept dropped files?
    798         if(!win32wnd->AcceptsDropFiles()) {
     799        if(!DragDropAccept(win32wnd->getWindowHandle())) {
    799800                rc = (MRFROM2SHORT (DOR_NEVERDROP, 0));
    800801            break;
     
    889890
    890891        //does this window accept dropped files?
    891         if(!win32wnd->AcceptsDropFiles()) {
     892        if(!DragDropAccept(win32wnd->getWindowHandle())) {
    892893            rc = 0;
    893894            break;
     
    943944        }
    944945        POINT point = {sxDrop, syDrop};
    945         win32wnd->MsgDropFiles(cItems, point, pszFiles, bufsize);
     946        DragDropFiles(win32wnd->getWindowHandle(), cItems, point, pszFiles, bufsize);
    946947        free(pszFiles);
    947948
Note: See TracChangeset for help on using the changeset viewer.