Mercurial > projects > dwt-win
diff dwt/widgets/IME.d @ 214:a8fed3e56433
Fix link error and added missing switch defaults
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 17 May 2008 19:23:59 +0200 |
parents | 36f5cb12e1a2 |
children | fd9c62a2998e |
line wrap: on
line diff
--- a/dwt/widgets/IME.d Sat May 17 17:34:28 2008 +0200 +++ b/dwt/widgets/IME.d Sat May 17 19:23:59 2008 +0200 @@ -159,6 +159,7 @@ pda.lsStyle = OS.TF_LS_SOLID; pda.fBoldLine = attInfo is OS.TF_ATTR_TARGET_CONVERTED; break; + default: } } return pda; @@ -311,6 +312,7 @@ int colorRef = OS.GetSysColor (attr.crText.cr); style.foreground = Color.win32_new (display, colorRef); break; + default: } switch (attr.crBk.type) { case OS.TF_CT_COLORREF: @@ -320,6 +322,7 @@ int colorRef = OS.GetSysColor (attr.crBk.cr); style.background = Color.win32_new (display, colorRef); break; + default: } switch (attr.crLine.type) { case OS.TF_CT_COLORREF: @@ -329,6 +332,7 @@ int colorRef = OS.GetSysColor (attr.crLine.cr); style.underlineColor = Color.win32_new (display, colorRef); break; + default: } style.underline = attr.lsStyle !is OS.TF_LS_NONE; switch (attr.lsStyle) { @@ -344,6 +348,7 @@ case OS.TF_LS_SOLID: style.underlineStyle = attr.fBoldLine ? UNDERLINE_IME_THICK : DWT.UNDERLINE_SINGLE; break; + default: } } }