Ignore:
Timestamp:
Nov 10, 2009, 12:00:52 AM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

gui: Fixed incorrect Qt dirty widget region calculation when processing WM_PAINT messages. This fixes a lot of redraw problems (#80, #91 and more).

File:
1 edited

Legend:

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

    r113 r307  
    145145    inline HRGN    handle() const { ensureHandle(); return d->rgn; }
    146146#elif defined(Q_WS_PM)
    147     inline HRGN handle(int targetHeight = 0) const {
     147    inline HRGN handle(int targetHeight) const {
    148148        if (d->rgn == NULLHANDLE || d->height != targetHeight)
    149149            updateHandle(targetHeight);
Note: See TracChangeset for help on using the changeset viewer.