Ignore:
Timestamp:
Oct 19, 1999, 9:26:08 PM (26 years ago)
Author:
sandervl
Message:

Combobox + getWindowTextA/W fixes

File:
1 edited

Legend:

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

    r1203 r1365  
    1 /* $Id: combo.cpp,v 1.4 1999-10-08 21:23:37 cbratschi Exp $ */
     1/* $Id: combo.cpp,v 1.5 1999-10-19 19:26:07 sandervl Exp $ */
    22/*
    33 * Combo controls
     
    2525 */
    2626
    27 #define CB_GETPTR( hwnd )      (*(LPHEADCOMBO*)(GetInfoPtr(hwnd)))
     27#define CB_GETPTR( hwnd )      ((LPHEADCOMBO)(GetInfoPtr(hwnd)))
    2828#define CB_NOTIFY( lphc, code ) \
    2929        (SendMessageA( (lphc)->owner, WM_COMMAND, \
     
    12381238  if(ptr)
    12391239  {
    1240     lphc =  (*(LPHEADCOMBO*)(ptr));
     1240    lphc =  (LPHEADCOMBO )ptr;
    12411241    if( lphc ) return lphc->hWndLBox;
    12421242  }
     
    17751775
    17761776      if(ptr)
    1777         lphc = (*(LPHEADCOMBO*)(ptr));
     1777        lphc = (LPHEADCOMBO)ptr;
    17781778
    17791779      //TRACE("[%04x]: msg %s wp %08x lp %08lx\n",
Note: See TracChangeset for help on using the changeset viewer.