combobox created with WS_DISABLED
Susan Farley
susan at codeweavers.com
Wed May 30 10:45:04 CDT 2001
* controls/combo.c
Disable the edit box when created with WS_DISABLED
Susan Farley
<susan at codeweavers.com>
-------------- next part --------------
Index: controls/combo.c
===================================================================
RCS file: /home/wine/wine/controls/combo.c,v
retrieving revision 1.71
diff -u -r1.71 combo.c
--- controls/combo.c 2001/05/09 17:13:41 1.71
+++ controls/combo.c 2001/05/30 16:40:08
@@ -636,6 +636,9 @@
CBForceDummyResize(lphc);
}
+ if ( wnd->dwStyle & WS_DISABLED )
+ EnableWindow( lphc->hWndEdit, FALSE );
+
TRACE("init done\n");
return wnd->hwndSelf;
}
More information about the wine-patches
mailing list