diff options
| author | George Hazan <george.hazan@gmail.com> | 2025-04-11 12:22:01 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2025-04-11 12:22:01 +0300 |
| commit | 1761aa0337e37b8a1bb330aad12231f593362192 (patch) | |
| tree | e7e9c460461f49fc9efdfaf216b0c9d5a9f14c66 | |
| parent | ed959f420d9b8371b1520f76cf0ade857f3bd64f (diff) | |
sync of Delphi headers
| -rw-r--r-- | include/delphi/m_helpers.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/delphi/m_helpers.inc b/include/delphi/m_helpers.inc index d240073501..6906bd2d27 100644 --- a/include/delphi/m_helpers.inc +++ b/include/delphi/m_helpers.inc @@ -62,7 +62,7 @@ function Options_Open(group,page,tab:PWideChar):int_ptr; function _Srmm_AddButton(bbdi:pBBButton; pPlugin:Pointer) : integer; stdcall;
external AppDll name 'Srmm_AddButton';
-function _AddMainMenuItem(mi:PMO_MenuItem) : HGENMENU; stdcall;
+function _AddMainMenuItem(mi:PMO_MenuItem; pszProto:PAnsiChar) : HGENMENU; stdcall;
external AppDll name 'Menu_AddMainMenuItem';
function _AddContactMenuItem(mi:PMO_MenuItem; pszProto:PAnsiChar) : HGENMENU; stdcall;
@@ -260,7 +260,7 @@ end; function Menu_AddMainMenuItem(mi:PMO_MenuItem):HGENMENU;
begin
mi^.pPlugin:=@g_plugin;
- result:=_AddMainMenuItem(mi);
+ result:=_AddMainMenuItem(mi, nil);
end;
function Menu_AddContactMenuItem(mi:PMO_MenuItem):HGENMENU;
|
