diff options
author | Alexey Kulakov <panda75@bk.ru> | 2014-01-15 21:04:05 +0000 |
---|---|---|
committer | Alexey Kulakov <panda75@bk.ru> | 2014-01-15 21:04:05 +0000 |
commit | 45ed02f2c6064fa41d59c01f457565365d22ae59 (patch) | |
tree | 27740fbe37fb0d1b09751491ffa88547de12352e /include/delphi/m_helpers.inc | |
parent | c1173e359c7c5ec3c173a0402716c2a53af607ef (diff) |
sync
git-svn-id: http://svn.miranda-ng.org/main/trunk@7669 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/delphi/m_helpers.inc')
-rw-r--r-- | include/delphi/m_helpers.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/delphi/m_helpers.inc b/include/delphi/m_helpers.inc index f14fab1727..8d59327c2e 100644 --- a/include/delphi/m_helpers.inc +++ b/include/delphi/m_helpers.inc @@ -68,8 +68,8 @@ function Options_AddPage(wParam:WPARAM; odp:POPTIONSDIALOGPAGE):int_ptr; function Hotkey_Register(hk:PHOTKEYDESC):int_ptr;
function Skin_AddIcon(si:PSKINICONDESC):THANDLE;
-procedure Icon_Register(hInst:HINST; const szSection:pAnsiChar; pIcons:pIconItem ; iCount:size_t; prefix:PAnsiChar=nil);
-procedure Icon_RegisterW(hInst:HINST; const szSection:pWideChar; pIcons:pIconItemW; iCount:size_t; prefix:PAnsiChar=nil);
+procedure Icon_Register (hInst:HINST; const szSection:pAnsiChar; pIcons:pIconItem ; iCount:size_t; prefix:PAnsiChar);
+procedure Icon_RegisterW(hInst:HINST; const szSection:pWideChar; pIcons:pIconItemW; iCount:size_t; prefix:PAnsiChar);
procedure FontRegister(pFontID:pFontID);
procedure FontRegisterW(pFontID:pFontIDW);
@@ -343,6 +343,7 @@ begin Result := CreateServiceFunction(szStr, @serviceProc);
end;
+// Hidden variable hLangpack - do not use Inline style
function Srmm_AddIcon(sid: PStatusIconData):int_ptr;
begin
result:=CallService(MS_MSG_ADDICON, hLangpack, LPARAM(sid));
|