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.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Watrack/i_gui.inc b/plugins/Watrack/i_gui.inc
index 0128d7c566..3137780f27 100644
--- a/plugins/Watrack/i_gui.inc
+++ b/plugins/Watrack/i_gui.inc
@@ -46,9 +46,9 @@ var
p:PAnsiChar;
begin
if f1<>0 then
- Menu_ModifyItem(hMenuDisable, 'Enable WATrack', IcoLib_GetIcon(IcoBtnDisable,0), f1)
+ Menu_ModifyItem(hMenuDisable, 'Enable WATrack', IcoLib_GetIconHandle(IcoBtnDisable), f1)
else
- Menu_ModifyItem(hMenuDisable, 'Disable WATrack', IcoLib_GetIcon(IcoBtnEnable,0));
+ Menu_ModifyItem(hMenuDisable, 'Disable WATrack', IcoLib_GetIconHandle(IcoBtnEnable));
if ServiceExists(MS_TTB_SETBUTTONSTATE) then
begin
@@ -72,7 +72,7 @@ var
ttb:m_api.TTBButton;
begin
result:=0;
- Menu_ModifyItem(hMenuDisable, nil, IcoLib_GetIcon(IcoBtnEnable,0));
+ Menu_ModifyItem(hMenuDisable, nil, IcoLib_GetIconHandle(IcoBtnEnable));
// toptoolbar
if ServiceExists(MS_TTB_GETBUTTONOPTIONS) then