Mercurial > projects > dwt-win
diff dwt/widgets/ToolTip.d @ 117:25f88bf5a6df
Only one file was damaged
Backed out changeset 640928daee8c
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 11 Feb 2008 04:18:24 +0100 |
parents | 640928daee8c |
children | ab60f3309436 |
line wrap: on
line diff
--- a/dwt/widgets/ToolTip.d Mon Feb 11 04:05:55 2008 +0100 +++ b/dwt/widgets/ToolTip.d Mon Feb 11 04:18:24 2008 +0100 @@ -220,7 +220,7 @@ */ public bool getVisible () { checkWidget(); - if (OS.IsWinCE) return false; + static if (OS.IsWinCE) return false; if (item !is null) return visible; auto hwndToolTip_ = hwndToolTip (); if (OS.SendMessage (hwndToolTip_, OS.TTM_GETCURRENTTOOL, 0, 0) !is 0) { @@ -447,7 +447,7 @@ */ public void setVisible (bool visible) { checkWidget (); - if (OS.IsWinCE) return; + static if (OS.IsWinCE) return; if (visible is getVisible ()) return; if (item is null) { auto hwnd = parent.handle;