summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-31 20:22:16 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-31 20:22:16 +0000
commitdd5760dbdd89c2155d43492d52b5977ba9dbe5c8 (patch)
tree5cc7b4280bfc51ac2c5ef80190dffe43b4412fdc /plugins
parent27e824aa3d1185fb39fc5bc54329e3cec97801ee (diff)
fix for the background drawing
git-svn-id: http://svn.miranda-ng.org/main/trunk@1290 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/MyDetails/src/frame.cpp2
1 files changed, 1 insertions, 1 deletions
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)));