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/oslibwin.cpp

    r9463 r9563  
    1 /* $Id: oslibwin.cpp,v 1.130 2002-12-04 15:23:38 sandervl Exp $ */
     1/* $Id: oslibwin.cpp,v 1.131 2002-12-29 17:17:16 sandervl Exp $ */
    22/*
    33 * Window API wrappers for OS/2
     
    162162  static int minmaxwidth  = 0;
    163163  static int minmaxheight = 0;
     164
     165  dprintf(("OSLibWinPositionFrameControls %x (%x,%x) %x %d", hwndFrame, dwStyle, dwExStyle, hSysMenuIcon, drawCloseButton));
    164166
    165167  if(minmaxwidth == 0) {
     
    10981100BOOL OSLibChangeCloseButtonState(HWND hwndFrame, BOOL State)
    10991101{
     1102    dprintf(("OSLibChangeCloseButtonState %x %d", hwndFrame, State));
    11001103    return WinEnableMenuItem(WinWindowFromID(hwndFrame, FID_SYSMENU), SC_CLOSE, State);
    11011104}
Note: See TracChangeset for help on using the changeset viewer.