summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI/m_skin_eng.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-25 21:53:56 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-25 21:53:56 +0000
commit06bb38dfa357a731e16980d03ab100b84e5cb989 (patch)
tree686bd8edc9e71087bb943ec3fe6dbb5193d09247 /plugins/ExternalAPI/m_skin_eng.h
parentcc6abc9eed963a2659c121ddec136f1ab4256535 (diff)
MS_CLUI_GETHWND & MS_CLUI_GETHWNDTREE replaced with pcli->hwndContactList & pcli->hwndContactTree respectively
git-svn-id: http://svn.miranda-ng.org/main/trunk@14386 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ExternalAPI/m_skin_eng.h')
-rw-r--r--plugins/ExternalAPI/m_skin_eng.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/ExternalAPI/m_skin_eng.h b/plugins/ExternalAPI/m_skin_eng.h
index fa91f624e2..bb797fda9f 100644
--- a/plugins/ExternalAPI/m_skin_eng.h
+++ b/plugins/ExternalAPI/m_skin_eng.h
@@ -26,6 +26,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define M_ske_H_INC
#include <m_clui.h>
+#include <m_clistint.h>
/*defaults*/
#define DEFAULT_FIT_MODE FM_STRETCH
@@ -171,13 +172,11 @@ int __inline SkinDrawWindowBack(HWND hwndIn, HDC hdc, RECT * rcClip, char * obje
POINT pt={0};
RECT rc,r1;
- HWND hwnd=(HWND)CallService(MS_CLUI_GETHWND,0,0);
if (!objectID) return 0;
GetWindowRect(hwndIn,&r1);
pt.x=r1.left;
pt.y=r1.top;
- //ClientToScreen(hwndIn,&pt);
- GetWindowRect(hwnd,&rc);
+ GetWindowRect(pcli->hwndContactList, &rc);
OffsetRect(&rc,-pt.x ,-pt.y);
rq.hDC=hdc;
rq.rcDestRect=rc;