summaryrefslogtreecommitdiff
path: root/plugins/mRadio
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mRadio')
-rw-r--r--plugins/mRadio/i_tray.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/mRadio/i_tray.inc b/plugins/mRadio/i_tray.inc
index 4a32675903..0406bf311f 100644
--- a/plugins/mRadio/i_tray.inc
+++ b/plugins/mRadio/i_tray.inc
@@ -2,7 +2,7 @@
var
doTray:bool;
var
- trayradioparent:THANDLE;
+ trayradioparent:HGENMENU;
trayprotoh:THANDLE;
trayparent:THANDLE;
traymute :THANDLE;
@@ -91,7 +91,7 @@ begin
// build menu from sorted list
FillChar(mi,SizeOf(mi),0);
mi.Flags :=CMIF_KEEPUNTRANSLATED or CMIF_UNICODE or CMIF_ROOTHANDLE;
- mi.szPopupName:=TChar(trayparent);
+ mi.hParentMenu:=trayparent;
pc:=StrCopyE(@buf,'mRadio/Choose');
for i:=0 to trayStations.realCount-1 do
begin
@@ -146,7 +146,7 @@ begin
trayradioparent:=Menu_AddMainMenuItem(@mi);
FillChar(mi, sizeof(mi), 0);
- mi.szPopupName:=TChar(trayradioparent);
+ mi.hParentMenu:=trayradioparent;
if PluginStatus=ID_STATUS_ONLINE then
begin