From f14fa326359b2c32fb1f370f90956e86b43d2e51 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 26 Jul 2014 14:36:34 +0000 Subject: a parameter added to pfnLoadClcOptions to prevent double options initialization git-svn-id: http://svn.miranda-ng.org/main/trunk@9945 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/delphi/m_clistint.inc | 2 +- include/m_clistint.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/delphi/m_clistint.inc b/include/delphi/m_clistint.inc index 74fb61e6c7..c3efe4d858 100644 --- a/include/delphi/m_clistint.inc +++ b/include/delphi/m_clistint.inc @@ -387,7 +387,7 @@ type pfnGetDefaultExStyle : function :dword; cdecl; pfnGetDefaultFontSetting : procedure (i:int; var lf:LOGFONT; var colour:COLORREF); cdecl; pfnGetFontSetting : procedure (i:int; var lf:LOGFONT; var colour:COLORREF); cdecl; - pfnLoadClcOptions : procedure (hwnd:HWND; var dat:TClcData); cdecl; + pfnLoadClcOptions : procedure (hwnd:HWND; var dat:TClcData; bFirst: int); cdecl; pfnRecalculateGroupCheckboxes : procedure (hwnd:HWND; var dat:TClcData); cdecl; pfnSetGroupChildCheckboxes : procedure (var group:TClcGroup; checked:int); cdecl; pfnInvalidateItem : procedure (hwnd:HWND; var dat:TClcData; iItem:int); cdecl; diff --git a/include/m_clistint.h b/include/m_clistint.h index 8b61830160..25a124d42e 100644 --- a/include/m_clistint.h +++ b/include/m_clistint.h @@ -325,7 +325,7 @@ typedef struct DWORD (*pfnGetDefaultExStyle)(void); void (*pfnGetDefaultFontSetting)(int i, LOGFONT* lf, COLORREF* colour); void (*pfnGetFontSetting)(int i, LOGFONT* lf, COLORREF* colour); - void (*pfnLoadClcOptions)(HWND hwnd, struct ClcData *dat); + void (*pfnLoadClcOptions)(HWND hwnd, struct ClcData *dat, BOOL bFirst); void (*pfnRecalculateGroupCheckboxes)(HWND hwnd, struct ClcData *dat); void (*pfnSetGroupChildCheckboxes)(ClcGroup *group, int checked); void (*pfnInvalidateItem)(HWND hwnd, struct ClcData *dat, int iItem); -- cgit v1.2.3