Fixed display bug in the static control.

diff --git a/controls/static.c b/controls/static.c
index cbe89f7..b198fbe 100644
--- a/controls/static.c
+++ b/controls/static.c
@@ -379,7 +379,11 @@
     hBrush = SendMessageA( GetParent(wndPtr->hwndSelf), WM_CTLCOLORSTATIC,
                              hdc, wndPtr->hwndSelf );
     if (!hBrush) hBrush = GetStockObject(WHITE_BRUSH);
-    FillRect( hdc, &rc, hBrush );
+    FillRect( hdc, &rc, hBrush );    
+
+    if (!IsWindowEnabled(wndPtr->hwndSelf))
+   	SetTextColor(hdc, GetSysColor(COLOR_GRAYTEXT));
+
     if (wndPtr->text) DrawTextA( hdc, wndPtr->text, -1, &rc, wFormat );
 }