comctl32: Make ComboBoxEx draw its contents even when disabled=0A=

Richard Bradbrook richard at bradders2000.co.uk
Wed Aug 3 15:47:24 CDT 2011


=0A=
---=0A=
 dlls/comctl32/comboex.c |    2 --=0A=
 1 files changed, 0 insertions(+), 2 deletions(-)=0A=
=0A=
diff --git a/dlls/comctl32/comboex.c b/dlls/comctl32/comboex.c=0A=
index 9615983..4f20cb5 100644=0A=
--- a/dlls/comctl32/comboex.c=0A=
+++ b/dlls/comctl32/comboex.c=0A=
@@ -1328,8 +1328,6 @@ static LRESULT COMBOEX_DrawItem (const =
COMBOEX_INFO *infoPtr, DRAWITEMSTRUCT con=0A=
     COLORREF nbkc, ntxc, bkc, txc;=0A=
     int drawimage, drawstate, xioff;=0A=
 =0A=
-    if (!IsWindowEnabled(infoPtr->hwndCombo)) return 0;=0A=
-=0A=
     TRACE("DRAWITEMSTRUCT: CtlType=3D0x%08x CtlID=3D0x%08x\n",=0A=
 	  dis->CtlType, dis->CtlID);=0A=
     TRACE("itemID=3D0x%08x itemAction=3D0x%08x itemState=3D0x%08x\n",=0A=
-- =0A=
1.7.4.1=0A=
=0A=

------=_NextPart_000_0118_01CC51F5.0DD21190--




More information about the wine-patches mailing list