Changeset 9524 for trunk/src/user32/combo.c
- Timestamp:
- Dec 18, 2002, 2:10:08 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/combo.c
r9523 r9524 1252 1252 } 1253 1253 } 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 1254 1269 } 1255 1270 … … 1270 1285 return TRUE; 1271 1286 } 1287 1288 #ifdef __WIN32OS2__ 1289 /*********************************************************************** 1290 * COMBO_RollupListbox 1291 * 1292 * @@PF Odin specific function. 1293 */ 1294 BOOL 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 1272 1304 1273 1305 /***********************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.