Ignore:
Timestamp:
Jun 15, 2010, 5:00:46 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

gui: OS/2: Exclude children with real HWNDs (a.k.a native widgets) when flushing paint events to make sure they are not painted over by the parent (see #161 for details).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/painting/qwindowsurface_pm_p.h

    r713 r751  
    6363struct QPMDiveWindowSurfacePrivate;
    6464
    65 class QPMDiveWindowSurface : public QWindowSurface, private QWidget::PmEventFilter
     65class QPMDiveWindowSurface : public QWindowSurface
    6666{
    6767public:
     
    7777
    7878protected:
    79     bool adjustSetup();
    80     virtual void doFlush(const QRect &from, const QPoint &to);
    81     bool pmEventFilter(QMSG *msg, MRESULT *result);
     79    bool adjustSetup(QWidget *widget);
     80    virtual void doFlush(QWidget *widget, const QRect &from, const QPoint &to);
    8281
    8382    QScopedPointer<QPMDiveWindowSurfacePrivate> d;
     83
    8484};
    8585
Note: See TracChangeset for help on using the changeset viewer.