Richard Bradbrook : comctl32: Make ComboBoxEx draw its contents even when disabled.

Alexandre Julliard julliard at winehq.org
Wed Aug 3 12:48:13 CDT 2011


Module: wine
Branch: master
Commit: 5495b53eb12936077050b64c8e481978cc0d8e4a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5495b53eb12936077050b64c8e481978cc0d8e4a

Author: Richard Bradbrook <richard at bradders2000.co.uk>
Date:   Sun Jul 31 18:17:39 2011 +0100

comctl32: Make ComboBoxEx draw its contents even when disabled.

---

 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 efdea6a..a1b6cff 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",




More information about the wine-cvs mailing list