changeset 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 baaf4b04d284
children c0388006bb0d
files os2/dw.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/os2/dw.c	Fri Jul 05 01:32:37 2002 +0000
+++ b/os2/dw.c	Fri Jul 19 14:17:02 2002 +0000
@@ -1473,6 +1473,11 @@
 	case WM_SETFOCUS:
 		_run_event(hWnd, msg, mp1, mp2);
 		break;
+	case WM_CHAR:
+		/* A Similar problem to the MLE, if ESC just return */
+		if(SHORT1FROMMP(mp2) == 283)
+			return TRUE;
+		break;
 	}
 
 	if(blah && blah->oldproc)