From 75b1ff75c42644eb36552762652e4b0c9ff071bc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 2 Nov 2012 14:11:01 +0000 Subject: final switch to the typed icolib api git-svn-id: http://svn.miranda-ng.org/main/trunk@2152 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Weather/src/weather_contacts.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'protocols/Weather/src/weather_contacts.cpp') diff --git a/protocols/Weather/src/weather_contacts.cpp b/protocols/Weather/src/weather_contacts.cpp index 9111ea3d92..fe9179867c 100644 --- a/protocols/Weather/src/weather_contacts.cpp +++ b/protocols/Weather/src/weather_contacts.cpp @@ -409,10 +409,10 @@ INT_PTR CALLBACK DlgProcChange(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPa case WM_DESTROY: wndData = (CntSetWndDataType*)GetWindowLongPtr(hwndDlg, GWLP_USERDATA); - CallService(MS_SKIN2_RELEASEICON, (WPARAM)wndData->hFile, 0); - CallService(MS_SKIN2_RELEASEICON, (WPARAM)wndData->hRename, 0); - CallService(MS_SKIN2_RELEASEICON, (WPARAM)wndData->hSrchAll, 0); - CallService(MS_SKIN2_RELEASEICON, (WPARAM)wndData->hUserDetail, 0); + Skin_ReleaseIcon(wndData->hFile); + Skin_ReleaseIcon(wndData->hRename); + Skin_ReleaseIcon(wndData->hSrchAll); + Skin_ReleaseIcon(wndData->hUserDetail); mir_free(wndData); SetWindowLongPtr(hwndDlg, GWLP_USERDATA, 0); -- cgit v1.2.3