Mercurial > projects > dwt-win
comparison dwt/widgets/CoolBar.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 |
comparison
equal
deleted
inserted
replaced
115:640928daee8c | 117:25f88bf5a6df |
---|---|
758 * does not fully erase the coolbar area and coolbar | 758 * does not fully erase the coolbar area and coolbar |
759 * items when you set the background. The fix is | 759 * items when you set the background. The fix is |
760 * to invalidate the coolbar area. | 760 * to invalidate the coolbar area. |
761 */ | 761 */ |
762 if (!OS.IsWindowVisible (handle)) return; | 762 if (!OS.IsWindowVisible (handle)) return; |
763 if (OS.IsWinCE) { | 763 static if (OS.IsWinCE) { |
764 OS.InvalidateRect (handle, null, true); | 764 OS.InvalidateRect (handle, null, true); |
765 } else { | 765 } else { |
766 int flags = OS.RDW_ERASE | OS.RDW_FRAME | OS.RDW_INVALIDATE | OS.RDW_ALLCHILDREN; | 766 int flags = OS.RDW_ERASE | OS.RDW_FRAME | OS.RDW_INVALIDATE | OS.RDW_ALLCHILDREN; |
767 OS.RedrawWindow (handle, null, null, flags); | 767 OS.RedrawWindow (handle, null, null, flags); |
768 } | 768 } |