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

Update to compile and execute with dmd 2.052.
author kntroh
date Wed, 16 Mar 2011 21:53:53 +0900
parents 6dd524f61e62
children
comparison
equal deleted inserted replaced
111:b6e9904989ed 112:9f4c18c268b2
393 * the IME on every WM_IME_COMPOSITION message. 393 * the IME on every WM_IME_COMPOSITION message.
394 */ 394 */
395 if (!OS.IsWinCE && OS.WIN32_VERSION is OS.VERSION (5, 1)) { 395 if (!OS.IsWinCE && OS.WIN32_VERSION is OS.VERSION (5, 1)) {
396 if (OS.IsDBLocale) { 396 if (OS.IsDBLocale) {
397 short langID = OS.GetSystemDefaultUILanguage (); 397 short langID = OS.GetSystemDefaultUILanguage ();
398 short primaryLang = OS.PRIMARYLANGID (langID); 398 short primaryLang = cast(short) OS.PRIMARYLANGID (langID);
399 if (primaryLang is OS.LANG_KOREAN) { 399 if (primaryLang is OS.LANG_KOREAN) {
400 if (caret !is null && caret.isFocusCaret ()) { 400 if (caret !is null && caret.isFocusCaret ()) {
401 POINT ptCurrentPos; 401 POINT ptCurrentPos;
402 if (OS.GetCaretPos (&ptCurrentPos)) { 402 if (OS.GetCaretPos (&ptCurrentPos)) {
403 COMPOSITIONFORM lpCompForm; 403 COMPOSITIONFORM lpCompForm;