Changeset 8394 for trunk/src


Ignore:
Timestamp:
May 8, 2002, 5:08:19 PM (23 years ago)
Author:
sandervl
Message:

PF: bug fixes for regressions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/comctl32/listview.c

    r8382 r8394  
    63506350            int nColumnCount = Header_GetItemCount(infoPtr->hwndHeader);
    63516351            Header_GetItemRect(infoPtr->hwndHeader, nColumnCount-1, &br);
    6352 
     6352#ifdef __WIN32OS2__
     6353      if(GetWindowLongA(hwnd, GWL_STYLE) & LVS_OWNERDRAWFIXED)
     6354            lprc->right = max(lprc->left, br.right);
     6355      else
    63536356            lprc->right = max(lprc->left, br.right - REPORT_MARGINX);
     6357#else
     6358            lprc->right = max(lprc->left, br.right - REPORT_MARGINX);
     6359#endif
    63546360          }
    63556361          else
     
    88758881  nmKeyDown.flags = 0;
    88768882#ifdef __WIN32OS2__
    8877   if(SendMessageA(hwndParent, WM_NOTIFY, (WPARAM)nCtrlId, (LPARAM)&nmKeyDown) == TRUE)
    8878   {//application processed this key press
    8879       return 0;
    8880   }
     8883  if(notify(hwnd, LVN_KEYDOWN, &nmKeyDown.hdr) == TRUE)
     8884    return 0;    //application processed this key press
    88818885#else
    88828886  notify(hwnd, LVN_KEYDOWN, &nmKeyDown.hdr);
Note: See TracChangeset for help on using the changeset viewer.