Changeset 752 for trunk/src/gui


Ignore:
Timestamp:
Jun 15, 2010, 10:22:41 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

gui: OS/2: Fixed a typo that caused DnD over a Qt target in DIVE mode to corrupt the window contents.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/painting/qwindowsurface_pm.cpp

    r751 r752  
    559559        // is merely a copy of QT_BITMAP_MIRROR == 3 from qwindowsurface_raster.cpp
    560560
    561         HPS wps = window()->getPS();
     561        HPS wps = wi->getPS();
    562562
    563563        MATRIXLF m;
     
    569569        m.lM23 = 0;
    570570        m.lM31 = 0;
    571         m.lM32 = window()->height() - 1;
     571        m.lM32 = wi->height() - 1;
    572572        GpiSetDefaultViewMatrix(wps, 8, &m, TRANSFORM_REPLACE);
    573573
     
    598598                    (PBITMAPINFO2) &bmh, 4, ptls, ROP_SRCCOPY, BBO_IGNORE);
    599599
    600         window()->releasePS(wps);
     600        wi->releasePS(wps);
    601601
    602602        return;
Note: See TracChangeset for help on using the changeset viewer.