From fe95e19dc7743834b53c82afcf04c233e40db8db Mon Sep 17 00:00:00 2001 From: Alexey Kulakov Date: Wed, 21 Nov 2012 19:42:22 +0000 Subject: xstatus api fixes mradio frame button fix api updates git-svn-id: http://svn.miranda-ng.org/main/trunk@2420 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/mRadio/i_myservice.inc | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'protocols/mRadio/i_myservice.inc') diff --git a/protocols/mRadio/i_myservice.inc b/protocols/mRadio/i_myservice.inc index b8338a0d81..e4e76ba10f 100644 --- a/protocols/mRadio/i_myservice.inc +++ b/protocols/mRadio/i_myservice.inc @@ -116,12 +116,6 @@ begin end; function Service_RadioMute(wParam:WPARAM;lParam:LPARAM):int;cdecl; -var -{$IFDEF KOL_MCK} - med:TMouseEventData; -{$ELSE} - tmp:pAnsiChar; -{$ENDIF} begin if gVolume=0 then gVolume:=-1 @@ -131,30 +125,6 @@ begin if hVolFrmCtrl<>0 then EnableWindow(hVolFrmCtrl,gVolume>=0); -{$IFDEF KOL_MCK} - if lParam=0 then // 0 - from Service, not frame - begin - if btnMute<>nil then - begin - FillChar(med,SizeOf(med),0); - med.Button:=mbLeft; - med.StopHandling:=true; - btnMute.OnMouseDown(btnMute,med); - // btnMute.Click; // without click processing - btnMute.OnMouseUp (btnMute,med); - btnMute.Invalidate; - end - end; -{$ELSE} - if hMuteFrmCtrl<>0 then - begin - if gVolume<0 then - tmp:=IcoBtnOff - else - tmp:=IcoBtnOn; - SetButtonIcon(hMuteFrmCtrl,tmp); - end; -{$ENDIF} end; function Service_EqOnOff(wParam:WPARAM;lParam:LPARAM):int;cdecl; -- cgit v1.2.3