Changeset 495 for trunk


Ignore:
Timestamp:
May 2, 2011, 10:49:26 PM (10 years ago)
Author:
dmik
Message:

Fixed even more annoying flicker, this time when redrawing invalidated part of the window that intersects with the document page.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Lucide/gui/docViewer.cpp

    r494 r495  
    26722672
    26732673        case WM_ERASEBACKGROUND:
     2674#ifdef FILL_PAGE_BACKGROUND
     2675            // returning TRUE causes PM to fill the window with white which is
     2676            // annoying for documents with dark backgrounds (see the description
     2677            // of FILL_PAGE_BACKGROUND at the top for more details and a
     2678            // possible solution)
    26742679            return (MRESULT)TRUE;
     2680#else
     2681            return (MRESULT)FALSE;
     2682#endif
    26752683
    26762684        case WM_SIZE:
Note: See TracChangeset for help on using the changeset viewer.