Commit 8f9fa7ab authored by Frank Richter's avatar Frank Richter Committed by Alexandre Julliard

Add theming for combo boxes.

parent a228baf8
...@@ -31,12 +31,13 @@ C_SRCS = \ ...@@ -31,12 +31,13 @@ C_SRCS = \
propsheet.c \ propsheet.c \
rebar.c \ rebar.c \
smoothscroll.c \ smoothscroll.c \
string.c \
status.c \ status.c \
string.c \
syslink.c \ syslink.c \
tab.c \ tab.c \
theming.c \ theme_combo.c \
theme_edit.c \ theme_edit.c \
theming.c \
toolbar.c \ toolbar.c \
tooltips.c \ tooltips.c \
trackbar.c \ trackbar.c \
......
...@@ -33,8 +33,10 @@ WINE_DEFAULT_DEBUG_CHANNEL(theming); ...@@ -33,8 +33,10 @@ WINE_DEFAULT_DEBUG_CHANNEL(theming);
typedef LRESULT (CALLBACK* THEMING_SUBCLASSPROC)(HWND, UINT, WPARAM, LPARAM, typedef LRESULT (CALLBACK* THEMING_SUBCLASSPROC)(HWND, UINT, WPARAM, LPARAM,
ULONG_PTR); ULONG_PTR);
extern LRESULT CALLBACK THEMING_ComboSubclassProc (HWND, UINT, WPARAM, LPARAM,
ULONG_PTR);
extern LRESULT CALLBACK THEMING_EditSubclassProc (HWND, UINT, WPARAM, LPARAM, extern LRESULT CALLBACK THEMING_EditSubclassProc (HWND, UINT, WPARAM, LPARAM,
ULONG_PTR); ULONG_PTR);
static const struct ThemingSubclass static const struct ThemingSubclass
{ {
...@@ -42,6 +44,7 @@ static const struct ThemingSubclass ...@@ -42,6 +44,7 @@ static const struct ThemingSubclass
THEMING_SUBCLASSPROC subclassProc; THEMING_SUBCLASSPROC subclassProc;
} subclasses[] = { } subclasses[] = {
/* Note: list must be sorted by class name */ /* Note: list must be sorted by class name */
{WC_COMBOBOXW, THEMING_ComboSubclassProc},
{WC_EDITW, THEMING_EditSubclassProc} {WC_EDITW, THEMING_EditSubclassProc}
}; };
...@@ -88,9 +91,11 @@ static LRESULT CALLBACK subclass_stub ## N (HWND wnd, UINT msg, \ ...@@ -88,9 +91,11 @@ static LRESULT CALLBACK subclass_stub ## N (HWND wnd, UINT msg, \
} }
MAKE_SUBCLASS_STUB(0) MAKE_SUBCLASS_STUB(0)
MAKE_SUBCLASS_STUB(1)
const static WNDPROC subclassStubs[NUM_SUBCLASSES] = { const static WNDPROC subclassStubs[NUM_SUBCLASSES] = {
subclass_stub0 subclass_stub0,
subclass_stub1
}; };
/*********************************************************************** /***********************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment