comparison os2/dw.c @ 97:24cf41bb75ff

Fixed a problem with the ESC key in comboboxes on OS/2.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 19 Jul 2002 14:17:02 +0000
parents 7c3eef54c98c
children babc1ea53d79
comparison
equal deleted inserted replaced
96:baaf4b04d284 97:24cf41bb75ff
1470 1470
1471 switch(msg) 1471 switch(msg)
1472 { 1472 {
1473 case WM_SETFOCUS: 1473 case WM_SETFOCUS:
1474 _run_event(hWnd, msg, mp1, mp2); 1474 _run_event(hWnd, msg, mp1, mp2);
1475 break;
1476 case WM_CHAR:
1477 /* A Similar problem to the MLE, if ESC just return */
1478 if(SHORT1FROMMP(mp2) == 283)
1479 return TRUE;
1475 break; 1480 break;
1476 } 1481 }
1477 1482
1478 if(blah && blah->oldproc) 1483 if(blah && blah->oldproc)
1479 return blah->oldproc(hWnd, msg, mp1, mp2); 1484 return blah->oldproc(hWnd, msg, mp1, mp2);