Francois Gouget : comctl32: Remove THEMING_SetSubclassData() . It is not used anymore.

Alexandre Julliard julliard at winehq.org
Thu Apr 19 16:54:19 CDT 2018


Module: wine
Branch: master
Commit: 44c865649b93d5cb80dbb5912adb862a5e8339b6
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=44c865649b93d5cb80dbb5912adb862a5e8339b6

Author: Francois Gouget <fgouget at free.fr>
Date:   Wed Apr 18 03:25:40 2018 +0200

comctl32: Remove THEMING_SetSubclassData(). It is not used anymore.

Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/comctl32/comctl32.h |  1 -
 dlls/comctl32/theming.c  | 10 ----------
 2 files changed, 11 deletions(-)

diff --git a/dlls/comctl32/comctl32.h b/dlls/comctl32/comctl32.h
index 06cd59c..e2367aa 100644
--- a/dlls/comctl32/comctl32.h
+++ b/dlls/comctl32/comctl32.h
@@ -276,6 +276,5 @@ LONG MONTHCAL_CompareSystemTime(const SYSTEMTIME *first, const SYSTEMTIME *secon
 extern void THEMING_Initialize(void) DECLSPEC_HIDDEN;
 extern void THEMING_Uninitialize(void) DECLSPEC_HIDDEN;
 extern LRESULT THEMING_CallOriginalClass(HWND, UINT, WPARAM, LPARAM) DECLSPEC_HIDDEN;
-extern void THEMING_SetSubclassData(HWND, ULONG_PTR) DECLSPEC_HIDDEN;
 
 #endif  /* __WINE_COMCTL32_H */
diff --git a/dlls/comctl32/theming.c b/dlls/comctl32/theming.c
index 9494ffa..759ab76 100644
--- a/dlls/comctl32/theming.c
+++ b/dlls/comctl32/theming.c
@@ -167,13 +167,3 @@ LRESULT THEMING_CallOriginalClass (HWND wnd, UINT msg, WPARAM wParam, LPARAM lPa
     WNDPROC oldProc = originalProcs[subclass];
     return CallWindowProcW (oldProc, wnd, msg, wParam, lParam);
 }
-
-/***********************************************************************
- * THEMING_SetSubclassData
- *
- * Update the "refData" value of the subclassed window.
- */
-void THEMING_SetSubclassData (HWND wnd, ULONG_PTR refData)
-{
-    SetPropW (wnd, (LPCWSTR)MAKEINTATOM(atRefDataProp), (HANDLE)refData);
-}




More information about the wine-cvs mailing list