summaryrefslogtreecommitdiff
path: root/plugins/Watrack/i_gui.inc
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Watrack/i_gui.inc')
-rw-r--r--plugins/Watrack/i_gui.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/Watrack/i_gui.inc b/plugins/Watrack/i_gui.inc
index 2f2f249c14..3e41d6e6e9 100644
--- a/plugins/Watrack/i_gui.inc
+++ b/plugins/Watrack/i_gui.inc
@@ -27,11 +27,10 @@ end;
procedure CreateMenus;
var
- mi:TCListMenuItem;
+ mi:TMO_MenuItem;
begin
FillChar(mi, sizeof(mi), 0);
- mi.hParentMenu:=Menu_CreateRoot(MO_MAIN, 'Watrack', 0, 0, 0);
-
+ mi.root :=Menu_CreateRoot(MO_MAIN, 'Watrack', 0, 0, 0);
mi.hIcon :=IcoLib_GetIcon(IcoBtnEnable,0);
mi.szName.a :='Disable WATrack';
mi.pszService:=MS_WAT_PLUGINSTATUS;