From dd5760dbdd89c2155d43492d52b5977ba9dbe5c8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 31 Jul 2012 20:22:16 +0000 Subject: fix for the background drawing git-svn-id: http://svn.miranda-ng.org/main/trunk@1290 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MyDetails/src/frame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/MyDetails/src/frame.cpp b/plugins/MyDetails/src/frame.cpp index a66ea01cc7..a50236ee40 100644 --- a/plugins/MyDetails/src/frame.cpp +++ b/plugins/MyDetails/src/frame.cpp @@ -1031,7 +1031,7 @@ void EraseBackground(HWND hwnd, HDC hdc, MyDetailsFrameData* data) RECT r; GetClientRect(hwnd, &r); - if (data->skinning) + if ( isSkinEngineEnabled()) SkinDrawWindowBack(hwnd, hdc, &r, "Main,ID=Background"); else { HBRUSH hB = CreateSolidBrush((COLORREF) DBGetContactSettingDword(NULL,"MyDetails","BackgroundColor",GetSysColor(COLOR_BTNFACE))); -- cgit v1.2.3