Ignore:
Timestamp:
Nov 16, 2005, 8:36:46 PM (20 years ago)
Author:
dmik
Message:

Transferred Qt for OS/2 version 3.3.1-rc5 sources from the CVS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel/qpixmap.cpp

    r7 r8  
    367367#if defined(Q_WS_WIN)
    368368        hdc = pixmap.hdc;                       // copy Windows device context
     369#elif defined(Q_WS_PM)
     370        hps = pixmap.hps;                       // copy OS/2 PM presentation space
    369371#elif defined(Q_WS_X11)
    370372        hd = pixmap.hd;                         // copy X11 drawable
     
    475477#if defined(Q_WS_WIN)
    476478        hdc = pixmap.hdc;
     479#elif defined(Q_WS_PM)
     480        hps = pixmap.hps;
    477481#elif defined(Q_WS_X11)
    478482        hd = pixmap.hd;                         // copy QPaintDevice drawable
     
    735739            delete data->mask;
    736740            data->mask = 0;
     741#if defined (Q_WS_PM)
     742            if ( data->maskedHbm ) {
     743                GpiDeleteBitmap( data->maskedHbm );
     744                data->maskedHbm = 0;
     745            }
     746#endif
    737747        }
    738748        return;
     
    754764    data->alphapm = 0;
    755765#endif // Q_WS_X11 && !QT_NO_XFTFREETYPE
     766
     767#if defined (Q_WS_PM)
     768    if ( data->maskedHbm ) {
     769        GpiDeleteBitmap( data->maskedHbm );
     770        data->maskedHbm = 0;
     771    }
     772#endif
    756773
    757774    delete data->mask;
Note: See TracChangeset for help on using the changeset viewer.