comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/widgets/Combo.d @ 112:9f4c18c268b2

Update to compile and execute with dmd 2.052.
author kntroh
date Wed, 16 Mar 2011 21:53:53 +0900
parents 0ecb2b338560
children
comparison
equal deleted inserted replaced
111:b6e9904989ed 112:9f4c18c268b2
1338 if (msg !is OS.WM_CHAR && msg !is OS.WM_KEYDOWN && msg !is OS.WM_IME_CHAR) { 1338 if (msg !is OS.WM_CHAR && msg !is OS.WM_KEYDOWN && msg !is OS.WM_IME_CHAR) {
1339 return true; 1339 return true;
1340 } 1340 }
1341 if (event.character is 0) return true; 1341 if (event.character is 0) return true;
1342 if (!hooks (SWT.Verify) && !filters (SWT.Verify)) return true; 1342 if (!hooks (SWT.Verify) && !filters (SWT.Verify)) return true;
1343 char key = event.character; 1343 char key = cast(char) event.character;
1344 int stateMask = event.stateMask; 1344 int stateMask = event.stateMask;
1345 1345
1346 /* 1346 /*
1347 * Disable all magic keys that could modify the text 1347 * Disable all magic keys that could modify the text
1348 * and don't send events when Alt, Shift or Ctrl is 1348 * and don't send events when Alt, Shift or Ctrl is