diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-14 13:17:26 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-14 13:17:26 +0000 |
commit | 02ed4455c23e3562d71bfc80a0e2c4fede8708f1 (patch) | |
tree | 115a3d24e4a3877cd28bd4ff2d9d4011b790cc5f /plugins/QuickSearch/sr_window.pas | |
parent | c72584d6b934b37dbd18d5f15ffb24a140e1e3f2 (diff) |
- all icolib services removed;
- IcoLib_* functions are bound directly to the code
git-svn-id: http://svn.miranda-ng.org/main/trunk@14161 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/QuickSearch/sr_window.pas')
-rw-r--r-- | plugins/QuickSearch/sr_window.pas | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/QuickSearch/sr_window.pas b/plugins/QuickSearch/sr_window.pas index 7fdfcbe373..17fbc25e57 100644 --- a/plugins/QuickSearch/sr_window.pas +++ b/plugins/QuickSearch/sr_window.pas @@ -1636,8 +1636,8 @@ begin end
else if (setting_type=QST_CONTACTINFO) and (cnftype=CNF_GENDER) then
begin
- if hIconF=0 then hIconF:=CallService(MS_SKIN2_GETICON,0,tlparam(QS_FEMALE));
- if hIconM=0 then hIconM:=CallService(MS_SKIN2_GETICON,0,tlparam(QS_MALE));
+ if hIconF=0 then hIconF:=IcoLib_GetIcon(QS_FEMALE,0);
+ if hIconM=0 then hIconM:=IcoLib_GetIcon(QS_MALE,0);
flags:=flags or COL_GENDER;
tstrMale :=TranslateW('Male');
tstrFemale :=TranslateW('Female');
@@ -1977,8 +1977,7 @@ begin tmp:=tmp and not WS_EX_TOOLWINDOW;
SetWindowLongPtrW(Dialog,GWL_EXSTYLE,tmp);
- SendMessage(Dialog,WM_SETICON,ICON_SMALL,//LoadIcon(hInstance,PAnsiChar(IDI_QS))
- CallService(MS_SKIN2_GETICON,0,tlparam(QS_QS)));
+ SendMessage(Dialog,WM_SETICON,ICON_SMALL,IcoLib_GetIcon(QS_QS,0));
grid:=GetDlgItem(Dialog,IDC_LIST);
// ListView
|