Ignore:
Timestamp:
Dec 18, 2002, 2:10:08 PM (23 years ago)
Author:
sandervl
Message:

Merged our changes/fixes

File:
1 edited

Legend:

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

    r9523 r9524  
    12521252       }
    12531253   }
     1254#ifdef __WIN32OS2__
     1255   //@PF Of course when we rollup box it is time to sync it with listview.
     1256   //Obvious Wine bug and even not fixed in latest versions.
     1257   if( CB_GETTYPE(lphc) == CBS_DROPDOWN )
     1258   {
     1259       lphc->droppedIndex = CBUpdateLBox( lphc,TRUE );
     1260   }
     1261   else
     1262   {
     1263       lphc->droppedIndex = SendMessageA( lphc->hWndLBox, LB_GETCURSEL, 0, 0 );
     1264
     1265       if( lphc->droppedIndex == LB_ERR )
     1266         lphc->droppedIndex = 0;
     1267   }
     1268#endif
    12541269}
    12551270
     
    12701285   return TRUE;
    12711286}
     1287
     1288#ifdef __WIN32OS2__
     1289/***********************************************************************
     1290 *           COMBO_RollupListbox
     1291 *
     1292 * @@PF Odin specific function.
     1293 */
     1294BOOL COMBO_RollupListbox( LPHEADCOMBO lphc)
     1295{
     1296   if(lphc->wState & CBF_DROPPED)
     1297   {
     1298       CBRollUp( lphc, FALSE, FALSE);
     1299       return TRUE;
     1300   }
     1301   return FALSE;
     1302}
     1303#endif
    12721304
    12731305/***********************************************************************
Note: See TracChangeset for help on using the changeset viewer.