Ignore:
Timestamp:
Dec 29, 2002, 6:17:16 PM (23 years ago)
Author:
sandervl
Message:

Fix for painting a completely ownerdrawn menu (owner window was wrong); don't do anything in DoNCPaint if window is invisible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/win32wbasenonclient.cpp

    r9345 r9563  
    1 /* $Id: win32wbasenonclient.cpp,v 1.44 2002-10-15 09:18:12 sandervl Exp $ */
     1/* $Id: win32wbasenonclient.cpp,v 1.45 2002-12-29 17:17:16 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2 (non-client methods)
     
    10671067    dprintf(("DoNCPaint %x %x %d", getWindowHandle(), clip, suppress_menupaint));
    10681068
     1069    if ( getStyle() & WS_MINIMIZE ||
     1070         !IsWindowVisible( getWindowHandle() )) {
     1071        return; /* Nothing to do */
     1072    }
     1073
    10691074    rect.top    = rect.left = 0;
    10701075    rect.right  = rectWindow.right - rectWindow.left;
Note: See TracChangeset for help on using the changeset viewer.