comctl32: Disable theming for now.
Vitaliy Margolen
wine-patch at kievinfo.com
Sun Oct 16 14:10:49 CDT 2005
According to some reports there are other problems associated with themmed
controls besides WM_GETTEXTLENGTH. Disable it for now until we resolve all the
issues and check for correct behavior.
Vitaliy Margolen
changelog:
comctl32
-Disable theming for now.
-------------- next part --------------
Index: dlls/comctl32/theming.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/theming.c,v
retrieving revision 1.10
diff -u -p -r1.10 theming.c
--- dlls/comctl32/theming.c 6 Oct 2005 11:38:45 -0000 1.10
+++ dlls/comctl32/theming.c 16 Oct 2005 19:07:26 -0000
@@ -51,11 +51,13 @@ static const struct ThemingSubclass
THEMING_SUBCLASSPROC subclassProc;
} subclasses[] = {
/* Note: list must be sorted by class name */
+/* ATM theming brakes all ANSI themed controls
{dialogClass, THEMING_DialogSubclassProc},
{WC_COMBOBOXW, THEMING_ComboSubclassProc},
{comboLboxClass, THEMING_ListBoxSubclassProc},
{WC_EDITW, THEMING_EditSubclassProc},
{WC_LISTBOXW, THEMING_ListBoxSubclassProc}
+*/
};
#define NUM_SUBCLASSES (sizeof(subclasses)/sizeof(subclasses[0]))
@@ -85,18 +87,22 @@ static LRESULT CALLBACK subclass_proc ##
return result; \
}
+/* ATM theming brakes all ANSI themed controls
MAKE_SUBCLASS_PROC(0)
MAKE_SUBCLASS_PROC(1)
MAKE_SUBCLASS_PROC(2)
MAKE_SUBCLASS_PROC(3)
MAKE_SUBCLASS_PROC(4)
+*/
static const WNDPROC subclassProcs[NUM_SUBCLASSES] = {
+/* ATM theming brakes all ANSI themed controls
subclass_proc0,
subclass_proc1,
subclass_proc2,
subclass_proc3,
subclass_proc4
+*/
};
/***********************************************************************
More information about the wine-patches
mailing list