comctl32: Make ComboBoxEx draw its contents even when disabled

Richard Bradbrook richard at bradders2000.co.uk
Sun Jul 31 12:43:16 CDT 2011


---
dlls/comctl32/comboex.c |    2 --
1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/dlls/comctl32/comboex.c b/dlls/comctl32/comboex.c
index 9a5115e..5efee80 100644
--- a/dlls/comctl32/comboex.c
+++ b/dlls/comctl32/comboex.c
@@ -1328,8 +1328,6 @@ static LRESULT COMBOEX_DrawItem (const COMBOEX_INFO 
*infoPtr, DRAWITEMSTRUCT con
     COLORREF nbkc, ntxc, bkc, txc;
     int drawimage, drawstate, xioff;

-    if (!IsWindowEnabled(infoPtr->hwndCombo)) return 0;
-
     TRACE("DRAWITEMSTRUCT: CtlType=0x%08x CtlID=0x%08x\n",
    dis->CtlType, dis->CtlID);
     TRACE("itemID=0x%08x itemAction=0x%08x itemState=0x%08x\n",
-- 
1.7.4.1




More information about the wine-patches mailing list