diff options
Diffstat (limited to 'plugins/mRadio')
-rw-r--r-- | plugins/mRadio/rframeapi.pas | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/mRadio/rframeapi.pas b/plugins/mRadio/rframeapi.pas index 2db900efe6..449f80700b 100644 --- a/plugins/mRadio/rframeapi.pas +++ b/plugins/mRadio/rframeapi.pas @@ -181,14 +181,10 @@ end; function ColorReload(wParam:WPARAM;lParam:LPARAM):int;cdecl;
var
- cid:TColourID;
wnd:HWND;
begin
result:=0;
- cid.cbSize:=SizeOf(cid);
- StrCopy(cid.group,cPluginName);
- StrCopy(cid.name ,frm_back);
- frm_bkg:=CallService(MS_COLOUR_GETA,twparam(@cid),0);
+ frm_bkg:=Colour_Get(cPluginName,frm_back);
if hbr<>0 then DeleteObject(hbr);
hbr:=CreateSolidBrush(frm_bkg);
|