From 06bb38dfa357a731e16980d03ab100b84e5cb989 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 25 Jun 2015 21:53:56 +0000 Subject: 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 --- plugins/mRadio/rframeapi.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/mRadio') diff --git a/plugins/mRadio/rframeapi.pas b/plugins/mRadio/rframeapi.pas index 6888c3965d..2db900efe6 100644 --- a/plugins/mRadio/rframeapi.pas +++ b/plugins/mRadio/rframeapi.pas @@ -210,7 +210,7 @@ begin if ServiceExists(MS_CLIST_FRAMES_ADDFRAME)=0 then exit; if parent=0 then - parent:=CallService(MS_CLUI_GETHWND,0,0); + parent:=cli^.hwndContactList; if FrameWnd=0 then FrameWnd:=CreateDialog(hInstance,MAKEINTRESOURCE(IDD_FRAME),parent,@RadioFrameProc); @@ -236,7 +236,7 @@ begin begin CallService(MS_CLIST_FRAMES_UPDATEFRAME,FrameId, FU_FMPOS); - wnd:=CallService(MS_CLUI_GETHWND{MS_CLUI_GETHWNDTREE},0,0); + wnd:=cli^.hwndContactList; tmp:=SendMessage(wnd,CLM_GETEXSTYLE,0,0); SendMessage(wnd,CLM_SETEXSTYLE,tmp or CLS_EX_SHOWSELALWAYS,0); -- cgit v1.2.3